=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for mongodb-4.4.29nb4
=> Replacing database paths.
=> Changing /var to /var.
cd /pbulk/work/databases/mongodb4/work/mongo-r4.4.29 && cd . && /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr PYTHON=/usr/pkg/bin/python3.12 CC=gcc CFLAGS=-O2\ -I/usr/include\ -I/usr/pkg/include\ -I/usr/pkg/include/krb5 CPPFLAGS=-I/usr/include\ -I/usr/pkg/include\ -I/usr/pkg/include/krb5 CXX=c++ CXXFLAGS=-O2\ -I/usr/include\ -I/usr/pkg/include\ -I/usr/pkg/include/krb5 COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-Wl,-R/usr/pkg/lib\ -L/usr/pkg/lib\ -L/usr/pkg/gcc10/lib/gcc/x86_64--netbsd/10.5.0\ -Wl,-R/usr/pkg/gcc10/lib/gcc/x86_64--netbsd/10.5.0\ -Wl,-zrelro\ -L/usr/lib\ -Wl,-R/usr/lib\ -lexecinfo LINKER_RPATH_FLAG=-R PATH=/pbulk/work/databases/mongodb4/work/.cwrapper/bin:/pbulk/work/databases/mongodb4/work/.buildlink/bin:/pbulk/work/databases/mongodb4/work/.gcc/bin:/pbulk/work/databases/mongodb4/work/.tools/bin:/usr/pkg/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R7/bin:/usr/local/sbin:/usr/local/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= ftp_proxy=downloads-forbidden-except-during-fetch http_proxy=downloads-forbidden-except-during-fetch https_proxy=downloads-forbidden-except-during-fetch no_proxy= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/pbulk/work/databases/mongodb4/work/.home CWRAPPERS_CONFIG_DIR=/pbulk/work/databases/mongodb4/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 775 INSTALL_INFO= MAKEINFO=/pbulk/work/databases/mongodb4/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/pbulk/work/databases/mongodb4/work/.tools/bin/itstool GDBUS_CODEGEN=/pbulk/work/databases/mongodb4/work/.tools/bin/gdbus-codegen PKG_CONFIG=/pbulk/work/databases/mongodb4/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/pbulk/work/databases/mongodb4/work/.buildlink/lib/pkgconfig:/pbulk/work/databases/mongodb4/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/pbulk/work/databases/mongodb4/work/.pkg-config.log PKG_CONFIG_PATH= DL_CFLAGS=\ -pthread\  DL_LDFLAGS=\ -pthread DL_LIBS= KRB5_CONFIG=/usr/pkg/bin/krb5-config CWRAPPERS_CONFIG_DIR=/pbulk/work/databases/mongodb4/work/.cwrapper/config scons-3.12 -j8 -j8 --dbg=off --disable-warnings-as-errors --release --runtime-hardening=off --use-system-icu --use-system-mongo-c --use-system-pcre --use-system-snappy --use-system-tcmalloc --use-system-yaml --use-system-zlib --use-system-zstd --modules='' MONGO_VERSION=4.4.29 CC=gcc CXX=c++ CFLAGS=-O2\ \ -I/usr/include\ -I/usr/pkg/include\ -I/usr/pkg/include/krb5 CXXFLAGS=-O2\ -I/usr/include\ -I/usr/pkg/include\ -I/usr/pkg/include/krb5 LINKFLAGS=\ -Wl,-R/usr/pkg/lib\ -L/usr/pkg/lib\ \ \ -L/usr/pkg/gcc10/lib/gcc/x86_64--netbsd/10.5.0\ -Wl,-R/usr/pkg/gcc10/lib/gcc/x86_64--netbsd/10.5.0\ -Wl,-zrelro\ -L/usr/lib\ -Wl,-R/usr/lib\ -lexecinfo CPPPATH=/usr/pkg/include/libbson-1.0\ /usr/pkg/include/libmongoc-1.0 --ssl=on
scons: Reading SConscript files ...
scons: running with args /usr/pkg/bin/python3.12 /usr/pkg/bin/scons-3.12 -j8 -j8 --dbg=off --disable-warnings-as-errors --release --runtime-hardening=off --use-system-icu --use-system-mongo-c --use-system-pcre --use-system-snappy --use-system-tcmalloc --use-system-yaml --use-system-zlib --use-system-zstd --modules= MONGO_VERSION=4.4.29 CC=gcc CXX=c++ CFLAGS=-O2  -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 CXXFLAGS=-O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 LINKFLAGS= -Wl,-R/usr/pkg/lib -L/usr/pkg/lib   -L/usr/pkg/gcc10/lib/gcc/x86_64--netbsd/10.5.0 -Wl,-R/usr/pkg/gcc10/lib/gcc/x86_64--netbsd/10.5.0 -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -lexecinfo CPPPATH=/usr/pkg/include/libbson-1.0 /usr/pkg/include/libmongoc-1.0 --ssl=on
Mkdir("build/scons")
scons version: 4.8.1
python version: 3 12 7 'final' 0
CC is gcc
gcc found in $PATH at /pbulk/work/databases/mongodb4/work/.cwrapper/bin/gcc
/pbulk/work/databases/mongodb4/work/.cwrapper/bin/gcc resolves to /usr/pkg/libexec/cwrappers/cc-wrapper
CXX is c++
c++ found in $PATH at /pbulk/work/databases/mongodb4/work/.cwrapper/bin/c++
/pbulk/work/databases/mongodb4/work/.cwrapper/bin/c++ resolves to /usr/pkg/libexec/cwrappers/c++-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 "c++" is GCC... yes
Checking if C compiler "gcc" is GCC... yes
Detected a x86_64 processor
Checking if target OS netbsd 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... no
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 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 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... no
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 zstd... yes
Checking for C library yaml-cpp... yes
Checking for C library icudata... yes
Checking for C library rt... yes
Checking for C library dl... no
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 C library execinfo... yes
Checking if std::atomic<int64_t> works... yes
Checking if std::atomic<uint64_t> works... yes
Checking if std::atomic<int32_t> works... yes
Checking if std::atomic<uint32_t> works... yes
Checking for extended alignment 64 for concurrency types... yes
Checking for mongoc_get_major_version() in C library mongoc-1.0... yes
Checking if mongoc version is 1.13.0 or newer...yes
Checking for curl_global_init(0) in C library curl... yes
Checking for C function fallocate()... no
Checking for C function sync_file_range()... no
Checking for C header file x86intrin.h... yes
Checking for C header file arm_neon.h... no
/pbulk/work/databases/mongodb4/work/mongo-r4.4.29/src/mongo/installer/msi/SConscript:49: SyntaxWarning: invalid escape sequence '\m'
  enterprisebase = 'src\mongo\db\modules\enterprise'
scons: done reading SConscript files.
scons: Building targets ...
Install file: "distsrc/LICENSE-Community.txt" as "build/install/LICENSE-Community.txt"
Install file: "distsrc/MPL-2" as "build/install/MPL-2"
Creating 'build/59f4f0dd/mongo/resmoke/resmoke.py'
Install file: "distsrc/THIRD-PARTY-NOTICES" as "build/install/THIRD-PARTY-NOTICES"
Install file: "distsrc/README" as "build/install/README"
Generating build/59f4f0dd/mongo/db/ops/single_write_result_gen.cpp
Install file: "build/59f4f0dd/mongo/resmoke/resmoke.py" as "build/install/bin/resmoke.py"
Chmod("build/install/bin/resmoke.py", "u+x")
Generating build/59f4f0dd/mongo/db/pipeline/exchange_spec_gen.cpp
Generating build/59f4f0dd/mongo/db/query/query_knobs_gen.cpp
Generating build/59f4f0dd/mongo/client/read_preference_gen.cpp
Generating build/59f4f0dd/mongo/s/database_version_gen.cpp
Generating build/59f4f0dd/mongo/db/query/tailable_mode_gen.cpp
Generating build/59f4f0dd/mongo/db/generic_cursor_gen.cpp
Generating build/59f4f0dd/mongo/db/logical_session_id_gen.cpp
Generating build/59f4f0dd/mongo/db/ops/write_ops_gen.cpp
Generating build/59f4f0dd/mongo/db/repl/oplog_entry_gen.cpp
Generating build/59f4f0dd/mongo/db/pipeline/runtime_constants_gen.cpp
Generating build/59f4f0dd/mongo/client/hedging_mode_gen.cpp
/usr/pkg/bin/python3.12 src/mongo/db/auth/generate_action_types.py src/mongo/db/auth/action_types.txt build/59f4f0dd/mongo/db/auth/action_type_gen.h build/59f4f0dd/mongo/db/auth/action_type_gen.cpp
Generating build/59f4f0dd/mongo/db/read_write_concern_provenance_base_gen.cpp
Creating 'build/59f4f0dd/mongo/config.h'
/usr/pkg/bin/python3.12 src/mongo/base/generate_error_codes.py src/mongo/base/error_codes.yml src/mongo/base/error_codes.tpl.h build/59f4f0dd/mongo/base/error_codes.h
Generating build/59f4f0dd/mongo/db/repl/apply_ops_gen.cpp
Generating build/59f4f0dd/mongo/db/repl/optime_base_gen.cpp
/usr/pkg/bin/python3.12 src/mongo/base/generate_error_codes.py src/mongo/base/error_codes.yml src/mongo/base/error_codes.tpl.cpp build/59f4f0dd/mongo/base/error_codes.cpp
Generating build/59f4f0dd/mongo/s/query/async_results_merger_params_gen.cpp
Generating build/59f4f0dd/mongo/db/repl/repl_settings_gen.cpp
c++ -o build/59f4f0dd/mongo/db/pipeline/accumulator_sum.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/accumulator_sum.cpp
c++ -o build/59f4f0dd/mongo/db/query/cursor_response.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/cursor_response.cpp
Generating build/59f4f0dd/mongo/db/repl/repl_set_config_gen.cpp
Generating build/59f4f0dd/mongo/rpc/topology_version_gen.cpp
c++ -o build/59f4f0dd/mongo/util/system_tick_source.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/system_tick_source.cpp
c++ -o build/59f4f0dd/mongo/db/repl/task_runner.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/task_runner.cpp
Generating build/59f4f0dd/mongo/rpc/rewrite_state_change_errors_server_parameter_gen.cpp
c++ -o build/59f4f0dd/mongo/db/pipeline/process_interface/non_shardsvr_process_interface.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/process_interface/non_shardsvr_process_interface.cpp
c++ -o build/59f4f0dd/mongo/s/is_mongos.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/is_mongos.cpp
c++ -o build/59f4f0dd/mongo/rpc/rewrite_state_change_errors_server_parameter_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/rpc/rewrite_state_change_errors_server_parameter_gen.cpp
c++ -o build/59f4f0dd/mongo/logv2/log_domain_internal.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/logv2/log_domain_internal.cpp
Generating build/59f4f0dd/mongo/util/fail_point_server_parameter_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_sum.cpp:35:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/pipeline/granularity_rounder_preferred_numbers.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/granularity_rounder_preferred_numbers.cpp
c++ -o build/59f4f0dd/mongo/util/fail_point.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/fail_point.cpp
c++ -o build/59f4f0dd/mongo/util/fail_point_server_parameter_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/util/fail_point_server_parameter_gen.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/query/cursor_response.h:36,
                 from src/mongo/db/query/cursor_response.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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 src/mongo/db/query/cursor_response.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
In file included from src/mongo/db/pipeline/accumulator.h:43,
                 from src/mongo/db/pipeline/accumulator_sum.cpp:35:
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionFromAccumulator<mongo::AccumulatorSum>]':
src/mongo/db/pipeline/accumulator_sum.cpp:47:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
  350 |         return std::move(expr);
      |                              ^
src/mongo/db/pipeline/expression.h:350: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/clientcursor.h:40,
                 from src/mongo/db/query/cursor_response.h:36,
                 from src/mongo/db/query/cursor_response.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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 src/mongo/db/query/cursor_response.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/rpc/rewrite_state_change_errors_server_parameter_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:37,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/non_shardsvr_process_interface.h:35,
                 from src/mongo/db/pipeline/process_interface/non_shardsvr_process_interface.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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/59f4f0dd/mongo/rpc/rewrite_state_change_errors_server_parameter_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/non_shardsvr_process_interface.h:35,
                 from src/mongo/db/pipeline/process_interface/non_shardsvr_process_interface.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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: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/59f4f0dd/mongo/rpc/rewrite_state_change_errors_server_parameter_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/non_shardsvr_process_interface.h:35,
                 from src/mongo/db/pipeline/process_interface/non_shardsvr_process_interface.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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: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/59f4f0dd/mongo/rpc/rewrite_state_change_errors_server_parameter_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/non_shardsvr_process_interface.h:35,
                 from src/mongo/db/pipeline/process_interface/non_shardsvr_process_interface.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/repl/libtask_runner.a build/59f4f0dd/mongo/db/repl/task_runner.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libtask_runner.a
c++ -o build/59f4f0dd/third_party/s2/base/logging.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -Isrc/third_party/s2 -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/third_party/s2/base/logging.cc
In file included from src/mongo/db/pipeline/expression_context.h:44,
                 from src/mongo/db/pipeline/granularity_rounder.h:38,
                 from src/mongo/db/pipeline/granularity_rounder_preferred_numbers.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
Generating build/59f4f0dd/mongo/client/sasl_aws_protocol_common_gen.cpp
c++ -o build/59f4f0dd/mongo/client/sasl_aws_protocol_common_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/client/sasl_aws_protocol_common_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 build/59f4f0dd/mongo/util/fail_point_server_parameter_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/update/update_internal_node.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/update/update_internal_node.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 build/59f4f0dd/mongo/util/fail_point_server_parameter_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/util/fail_point_server_parameter_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/util/fail_point_server_parameter_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Generating build/59f4f0dd/mongo/db/pipeline/document_source_change_stream_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 build/59f4f0dd/mongo/client/sasl_aws_protocol_common_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src14.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src14.cpp
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_check_resume_token.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_check_resume_token.cpp
c++ -o build/59f4f0dd/mongo/db/matcher/extensions_callback.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/extensions_callback.cpp
c++ -o build/59f4f0dd/mongo/util/summation.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -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 build/59f4f0dd/mongo/client/sasl_aws_protocol_common_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/client/sasl_aws_protocol_common_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/client/sasl_aws_protocol_common_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Creating 'build/59f4f0dd/third_party/wiredtiger/wiredtiger.h'
gcc -o build/59f4f0dd/third_party/wiredtiger/src/schema/schema_plan.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/schema/schema_plan.c
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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:39,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/non_shardsvr_process_interface.h:35,
                 from src/mongo/db/pipeline/process_interface/non_shardsvr_process_interface.cpp:32:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Generating build/59f4f0dd/mongo/db/logical_session_cache_stats_gen.cpp
Generating build/59f4f0dd/mongo/db/logical_session_cache_gen.cpp
c++ -o build/59f4f0dd/mongo/db/logical_session_id_helpers.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/logical_session_id_helpers.cpp
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/process_name.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/log/src/process_name.cpp
ar rcsTD build/59f4f0dd/mongo/util/libfail_point.a build/59f4f0dd/mongo/util/fail_point.o build/59f4f0dd/mongo/util/fail_point_server_parameter_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/libfail_point.a
c++ -o build/59f4f0dd/mongo/util/assert_util.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/assert_util.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.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
Generating build/59f4f0dd/mongo/s/catalog/type_shard_collection_gen.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/pipeline/document_source_check_resume_token.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/s/catalog/type_shard_collection.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/catalog/type_shard_collection.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/pipeline/document_source_check_resume_token.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/pipeline/document_source_check_resume_token.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/pipeline/document_source_check_resume_token.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Generating build/59f4f0dd/mongo/s/catalog/type_chunk_base_gen.cpp
c++ -o build/59f4f0dd/mongo/s/catalog_cache_loader.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/catalog_cache_loader.cpp
Generating build/59f4f0dd/mongo/rpc/metadata/impersonated_user_metadata_gen.cpp
ar rcsTD build/59f4f0dd/mongo/client/libsasl_aws_common.a build/59f4f0dd/mongo/client/sasl_aws_protocol_common_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/client/libsasl_aws_common.a
Generating build/59f4f0dd/mongo/db/commands/txn_cmds_gen.cpp
Generating build/59f4f0dd/mongo/db/kill_sessions_gen.cpp
Generating build/59f4f0dd/mongo/s/query/cluster_query_knobs_gen.cpp
Generating build/59f4f0dd/mongo/db/s/migration_coordinator_document_gen.cpp
c++ -o build/59f4f0dd/mongo/s/query/cluster_aggregate.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/query/cluster_aggregate.cpp
Generating build/59f4f0dd/mongo/db/s/range_deletion_task_gen.cpp
gcc -o build/59f4f0dd/third_party/wiredtiger/src/packing/pack_api.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/packing/pack_api.c
c++ -o build/59f4f0dd/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_engine.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_engine.cpp
c++ -o build/59f4f0dd/mongo/db/s/migration_coordinator.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/migration_coordinator.cpp
gcc -o build/59f4f0dd/third_party/kms-message/src/kms_b64.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -DKMS_MSG_STATIC -DNDEBUG -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 -DKMS_MSG_STATIC -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -Isrc/third_party/kms-message/src -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/kms-message/src/kms_b64.c
c++ -o build/59f4f0dd/mongo/db/catalog/index_builds_manager.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/index_builds_manager.cpp
Generating build/59f4f0dd/mongo/db/mongod_options_legacy_gen.cpp
c++ -o build/59f4f0dd/mongo/db/mongod_options_legacy_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/mongod_options_legacy_gen.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/s_expm1.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/modules/fdlibm/s_expm1.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/e_log2.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/modules/fdlibm/e_log2.cpp
In file included from src/mongo/s/query/cluster_aggregate.h:38,
                 from src/mongo/s/query/cluster_aggregate.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src38.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src38.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src6.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src6.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/s/query/cluster_aggregate.h:39,
                 from src/mongo/s/query/cluster_aggregate.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/query/cluster_aggregate.h:39,
                 from src/mongo/s/query/cluster_aggregate.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/s/query/cluster_aggregate.h:39,
                 from src/mongo/s/query/cluster_aggregate.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/s/migration_util.h:32,
                 from src/mongo/db/s/migration_coordinator.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/s/migration_util.h:32,
                 from src/mongo/db/s/migration_coordinator.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src0.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src0.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_raii.h:33,
                 from src/mongo/db/s/migration_util.h:32,
                 from src/mongo/db/s/migration_coordinator.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/js/src/frontend/Parser.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/js/src/frontend/Parser.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_raii.h:33,
                 from src/mongo/db/s/migration_util.h:32,
                 from src/mongo/db/s/migration_coordinator.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/59f4f0dd/mongo/db/mongod_options_legacy_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/index_builds_manager.cpp:36:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/migration_util.h:32,
                 from src/mongo/db/s/migration_coordinator.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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/index_builds_manager.cpp:36:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/mongod_options_legacy_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616: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/index_builds_manager.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
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/59f4f0dd/mongo/db/mongod_options_legacy_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
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/index_builds_manager.cpp:36:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/mongod_options_legacy_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src15.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src15.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/e_cosh.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/modules/fdlibm/e_cosh.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src23.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src23.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src39.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src39.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/mozglue/misc/Mutex_posix.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/mozglue/misc/Mutex_posix.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src45.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src45.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/mfbt/Compression.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/mfbt/Compression.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/s_log1p.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/modules/fdlibm/s_log1p.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/s_rintf.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/modules/fdlibm/s_rintf.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/e_asin.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/modules/fdlibm/e_asin.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src37.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src37.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src36.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src36.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/js/src/perf/pm_stub.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/js/src/perf/pm_stub.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/e_atan2.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/modules/fdlibm/e_atan2.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/mozglue/misc/StackWalk.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/mozglue/misc/StackWalk.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src17.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src17.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src25.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src25.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src42.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src42.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/e_log10.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/modules/fdlibm/e_log10.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/e_acos.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/modules/fdlibm/e_acos.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/s_floor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/modules/fdlibm/s_floor.cpp
src/third_party/mozjs-60/extract/modules/fdlibm/s_floor.cpp: In function 'double fdlibm::floor(double)':
src/third_party/mozjs-60/extract/modules/fdlibm/s_floor.cpp:64:8: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare]
   64 |    if(j<i1) i0 +=1 ;  /* got a carry */
      |       ~^~~
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/mozglue/misc/TimeStamp.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/mozglue/misc/TimeStamp.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/s_asinh.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/modules/fdlibm/s_asinh.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src44.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src44.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src16.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src16.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/e_sinh.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/modules/fdlibm/e_sinh.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src20.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src20.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src9.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src9.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/s_cbrt.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/modules/fdlibm/s_cbrt.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src4.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src4.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src1.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src1.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/s_ceil.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/modules/fdlibm/s_ceil.cpp
src/third_party/mozjs-60/extract/modules/fdlibm/s_ceil.cpp: In function 'double fdlibm::ceil(double)':
src/third_party/mozjs-60/extract/modules/fdlibm/s_ceil.cpp:63:8: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare]
   63 |    if(j<i1) i0+=1; /* got a carry */
      |       ~^~~
c++ -o build/59f4f0dd/third_party/mozjs-60/mongo_sources/mongoErrorReportToString.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/mongo_sources/mongoErrorReportToString.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/s_nearbyint.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/modules/fdlibm/s_nearbyint.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/js/src/mfbt/Unified_cpp_mfbt0.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/js/src/mfbt/Unified_cpp_mfbt0.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src32.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src32.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/js/src/vm/Interpreter.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/js/src/vm/Interpreter.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src5.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src5.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src19.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src19.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src13.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src13.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src28.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src28.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src40.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src40.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/s_fabs.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/modules/fdlibm/s_fabs.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/e_sqrt.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/modules/fdlibm/e_sqrt.cpp
src/third_party/mozjs-60/extract/modules/fdlibm/e_sqrt.cpp: In function 'double fdlibm::sqrt(double)':
src/third_party/mozjs-60/extract/modules/fdlibm/e_sqrt.cpp:158:16: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare]
  158 |   if(((t1&sign)==sign)&&(s1&sign)==0) s0 += 1;
      |       ~~~~~~~~~^~~~~~
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src18.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src18.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/mozglue/misc/TimeStamp_posix.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/mozglue/misc/TimeStamp_posix.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/e_hypot.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/modules/fdlibm/e_hypot.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src8.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src8.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src35.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src35.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src30.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src30.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/s_truncf.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/modules/fdlibm/s_truncf.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/k_exp.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/modules/fdlibm/k_exp.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src3.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src3.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src43.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src43.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/js/src/jsarray.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/js/src/jsarray.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/mongo_sources/freeOpToJSContext.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/mongo_sources/freeOpToJSContext.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src12.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src12.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/s_atan.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/modules/fdlibm/s_atan.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/mfbt/double-conversion/double-conversion/strtod.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/mfbt/double-conversion/double-conversion/strtod.cc
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src22.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src22.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/js/src/jsmath.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/js/src/jsmath.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/mozglue/misc/ConditionVariable_posix.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/mozglue/misc/ConditionVariable_posix.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src26.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src26.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/e_atanh.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/modules/fdlibm/e_atanh.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src34.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src34.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src21.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src21.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/s_rint.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/modules/fdlibm/s_rint.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src2.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src2.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/s_tanh.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/modules/fdlibm/s_tanh.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src24.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src24.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src10.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src10.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/s_trunc.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/modules/fdlibm/s_trunc.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/s_ceilf.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/modules/fdlibm/s_ceilf.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/e_log.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/modules/fdlibm/e_log.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src31.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src31.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src33.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src33.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/s_scalbn.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/modules/fdlibm/s_scalbn.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/s_floorf.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/modules/fdlibm/s_floorf.cpp
gcc -o build/59f4f0dd/third_party/mozjs-60/extract/mfbt/lz4.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/mfbt/lz4.c
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/e_exp.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/modules/fdlibm/e_exp.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/js/src/vm/JSAtom.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/js/src/vm/JSAtom.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src11.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src11.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/e_acosh.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/modules/fdlibm/e_acosh.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/e_pow.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/modules/fdlibm/e_pow.cpp
src/third_party/mozjs-60/extract/modules/fdlibm/e_pow.cpp: In function 'double fdlibm::pow(double, double)':
src/third_party/mozjs-60/extract/modules/fdlibm/e_pow.cpp:131:21: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
  131 |       if((j<<(52-k))==ly) yisint = 2-(j&1);
      |          ~~~~~~~~~~~^~~~
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/js/src/jit/x86-shared/Disassembler-x86-shared.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/js/src/gc/StoreBuffer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/js/src/gc/StoreBuffer.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src41.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src41.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src27.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src27.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src7.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src7.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/s_copysign.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/modules/fdlibm/s_copysign.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/js/src/util/DoubleToString.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/js/src/util/DoubleToString.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/mozglue/misc/Printf.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/mozglue/misc/Printf.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/extract/js/src/builtin/RegExp.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/js/src/builtin/RegExp.cpp
c++ -o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src29.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -include js-confdefs.h -DWASM_HUGE_MEMORY=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DIMPL_MFBT -DNDEBUG -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/59f4f0dd/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/59f4f0dd/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/59f4f0dd/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/59f4f0dd/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/59f4f0dd/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-60/platform/x86_64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src29.cpp
c++ -o build/59f4f0dd/mongo/db/repl/rollback_checker.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/rollback_checker.cpp
c++ -o build/59f4f0dd/mongo/db/storage/biggie/biggie_init.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/biggie/biggie_init.cpp
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/trivial.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/log/src/trivial.cpp
c++ -o build/59f4f0dd/mongo/db/catalog/validate_adaptor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/validate_adaptor.cpp
c++ -o build/59f4f0dd/mongo/db/catalog/collection_validation.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/collection_validation.cpp
ar rcsTD build/59f4f0dd/mongo/db/repl/librollback_checker.a build/59f4f0dd/mongo/db/repl/rollback_checker.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/librollback_checker.a
Generating build/59f4f0dd/mongo/db/commands/internal_rename_if_options_and_indexes_match_gen.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_modf.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_modf.c
Generating build/59f4f0dd/mongo/db/query/count_command_gen.cpp
c++ -o build/59f4f0dd/mongo/db/commands/internal_rename_if_options_and_indexes_match_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/commands/internal_rename_if_options_and_indexes_match_gen.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/storage/durable_catalog_impl.h:37,
                 from src/mongo/db/storage/durable_catalog_feature_tracker.h:36,
                 from src/mongo/db/storage/storage_engine_impl.h:42,
                 from src/mongo/db/storage/biggie/biggie_init.cpp:35:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_tanh.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_tanh.c
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/ops/update.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/ops/update.cpp
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/storage/durable_catalog_impl.h:37,
                 from src/mongo/db/storage/durable_catalog_feature_tracker.h:36,
                 from src/mongo/db/storage/storage_engine_impl.h:42,
                 from src/mongo/db/storage/biggie/biggie_init.cpp:35:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/exec/queued_data_stage.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/queued_data_stage.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/storage/durable_catalog_impl.h:37,
                 from src/mongo/db/storage/durable_catalog_feature_tracker.h:36,
                 from src/mongo/db/storage/storage_engine_impl.h:42,
                 from src/mongo/db/storage/biggie/biggie_init.cpp:35:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/storage/durable_catalog_impl.h:37,
                 from src/mongo/db/storage/durable_catalog_feature_tracker.h:36,
                 from src/mongo/db/storage/storage_engine_impl.h:42,
                 from src/mongo/db/storage/biggie/biggie_init.cpp:35:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/catalog/validate_state.h:35,
                 from src/mongo/db/catalog/validate_adaptor.h:32,
                 from src/mongo/db/catalog/validate_adaptor.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_raii.h:33,
                 from src/mongo/db/catalog/validate_state.h:35,
                 from src/mongo/db/catalog/validate_adaptor.h:32,
                 from src/mongo/db/catalog/validate_adaptor.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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_raii.h:33,
                 from src/mongo/db/catalog/validate_state.h:35,
                 from src/mongo/db/catalog/validate_adaptor.h:32,
                 from src/mongo/db/catalog/validate_adaptor.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/catalog/validate_state.h:35,
                 from src/mongo/db/catalog/validate_adaptor.h:32,
                 from src/mongo/db/catalog/validate_adaptor.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/db/commands/internal_rename_if_options_and_indexes_match_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/queued_data_stage.h:34,
                 from src/mongo/db/exec/queued_data_stage.cpp:30:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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_validation.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/59f4f0dd/mongo/db/commands/internal_rename_if_options_and_indexes_match_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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/ops/update.h:32,
                 from src/mongo/db/ops/update.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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:616:25: note: remove 'std::move' call
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::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574: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_validation.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/commands/internal_rename_if_options_and_indexes_match_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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/ops/update.h:32,
                 from src/mongo/db/ops/update.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/commands/internal_rename_if_options_and_indexes_match_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/third_party/wiredtiger/src/support/timestamp.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/support/timestamp.c
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/catalog/collection_catalog.h:36,
                 from src/mongo/db/curop.h:35,
                 from src/mongo/db/ops/update.h:32,
                 from src/mongo/db/ops/update.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/ops/update.h:32,
                 from src/mongo/db/ops/update.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_validation.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_validation.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Generating build/59f4f0dd/mongo/db/pipeline/document_source_replace_root_gen.cpp
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_replace_root.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_replace_root.cpp
Generating build/59f4f0dd/mongo/db/repl/repl_server_parameters_gen.cpp
c++ -o build/59f4f0dd/mongo/db/repl/repl_server_parameters_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/repl/repl_server_parameters_gen.cpp
ar rcsTD build/59f4f0dd/mongo/db/storage/biggie/libstorage_biggie.a build/59f4f0dd/mongo/db/storage/biggie/biggie_init.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/biggie/libstorage_biggie.a
c++ -o build/59f4f0dd/mongo/db/fts/fts_element_iterator.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/libstemmer_c/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/fts/fts_element_iterator.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Using tempfile /tmp/tmpuvjtmin8.lnk for command line:
ar rcsTD build/59f4f0dd/third_party/mozjs-60/libmozjs.a build/59f4f0dd/third_party/mozjs-60/mongo_sources/mongoErrorReportToString.o build/59f4f0dd/third_party/mozjs-60/mongo_sources/freeOpToJSContext.o build/59f4f0dd/third_party/mozjs-60/extract/js/src/builtin/RegExp.o build/59f4f0dd/third_party/mozjs-60/extract/js/src/frontend/Parser.o build/59f4f0dd/third_party/mozjs-60/extract/js/src/gc/StoreBuffer.o build/59f4f0dd/third_party/mozjs-60/extract/js/src/jsarray.o build/59f4f0dd/third_party/mozjs-60/extract/js/src/jsmath.o build/59f4f0dd/third_party/mozjs-60/extract/js/src/mfbt/Unified_cpp_mfbt0.o build/59f4f0dd/third_party/mozjs-60/extract/js/src/perf/pm_stub.o build/59f4f0dd/third_party/mozjs-60/extract/js/src/util/DoubleToString.o build/59f4f0dd/third_party/mozjs-60/extract/js/src/vm/Interpreter.o build/59f4f0dd/third_party/mozjs-60/extract/js/src/vm/JSAtom.o build/59f4f0dd/third_party/mozjs-60/extract/mfbt/Compression.o build/59f4f0dd/third_party/mozjs-60/extract/mfbt/double-conversion/double-conversion/strtod.o build/59f4f0dd/third_party/mozjs-60/extract/mfbt/lz4.o build/59f4f0dd/third_party/mozjs-60/extract/mozglue/misc/Printf.o build/59f4f0dd/third_party/mozjs-60/extract/mozglue/misc/TimeStamp.o build/59f4f0dd/third_party/mozjs-60/extract/mozglue/misc/StackWalk.o build/59f4f0dd/third_party/mozjs-60/extract/mozglue/misc/ConditionVariable_posix.o build/59f4f0dd/third_party/mozjs-60/extract/mozglue/misc/Mutex_posix.o build/59f4f0dd/third_party/mozjs-60/extract/mozglue/misc/TimeStamp_posix.o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/e_acos.o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/e_acosh.o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/e_asin.o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/e_atan2.o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/e_atanh.o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/e_cosh.o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/e_exp.o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/e_hypot.o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/e_log.o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/e_log10.o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/e_log2.o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/e_pow.o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/e_sinh.o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/e_sqrt.o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/k_exp.o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/s_asinh.o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/s_atan.o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/s_cbrt.o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/s_ceil.o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/s_ceilf.o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/s_copysign.o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/s_expm1.o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/s_fabs.o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/s_floor.o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/s_floorf.o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/s_log1p.o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/s_nearbyint.o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/s_rint.o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/s_rintf.o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/s_scalbn.o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/s_tanh.o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/s_trunc.o build/59f4f0dd/third_party/mozjs-60/extract/modules/fdlibm/s_truncf.o build/59f4f0dd/third_party/mozjs-60/extract/js/src/jit/x86-shared/Disassembler-x86-shared.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src0.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src1.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src10.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src11.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src12.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src13.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src14.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src15.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src16.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src17.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src18.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src19.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src2.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src20.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src21.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src22.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src23.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src24.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src25.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src26.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src27.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src28.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src29.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src3.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src30.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src31.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src32.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src33.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src34.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src35.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src36.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src37.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src38.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src39.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src4.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src40.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src41.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src42.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src43.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src44.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src45.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src5.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src6.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src7.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src8.o build/59f4f0dd/third_party/mozjs-60/platform/x86_64/netbsd/build/Unified_cpp_js_src9.o
ar @/tmp/tmpuvjtmin8.lnk
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Skipping ranlib for thin archive build/59f4f0dd/third_party/mozjs-60/libmozjs.a
c++ -o build/59f4f0dd/mongo/db/exec/trial_stage.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/trial_stage.cpp
c++ -o build/59f4f0dd/mongo/db/s/config/configsvr_move_chunk_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/config/configsvr_move_chunk_command.cpp
c++ -o build/59f4f0dd/mongo/db/catalog/collection_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/collection_impl.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 src/mongo/db/pipeline/document_source.h:45,
                 from src/mongo/db/pipeline/document_source_single_document_transformation.h:34,
                 from src/mongo/db/pipeline/document_source_replace_root.h:33,
                 from src/mongo/db/pipeline/document_source_replace_root.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/repl/repl_server_parameters_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/document_source_single_document_transformation.h:34,
                 from src/mongo/db/pipeline/document_source_replace_root.h:33,
                 from src/mongo/db/pipeline/document_source_replace_root.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_single_document_transformation.h:34,
                 from src/mongo/db/pipeline/document_source_replace_root.h:33,
                 from src/mongo/db/pipeline/document_source_replace_root.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_single_document_transformation.h:34,
                 from src/mongo/db/pipeline/document_source_replace_root.h:33,
                 from src/mongo/db/pipeline/document_source_replace_root.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from build/59f4f0dd/mongo/db/repl/repl_server_parameters_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
Generating build/59f4f0dd/mongo/db/catalog/validate_gen.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/catalog/index_consistency.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/index_consistency.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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from build/59f4f0dd/mongo/db/repl/repl_server_parameters_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/repl/repl_server_parameters_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/exec/trial_stage.h:32,
                 from src/mongo/db/exec/trial_stage.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/s/config/configsvr_move_chunk_command.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/catalog/index_catalog_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/index_catalog_impl.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/query/plan_yield_policy.h:34,
                 from src/mongo/db/exec/trial_stage.h:33,
                 from src/mongo/db/exec/trial_stage.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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_impl.h:33,
                 from src/mongo/db/catalog/collection_impl.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
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_move_chunk_command.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574: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/query/plan_yield_policy.h:34,
                 from src/mongo/db/exec/trial_stage.h:33,
                 from src/mongo/db/exec/trial_stage.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616: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/query/plan_yield_policy.h:34,
                 from src/mongo/db/exec/trial_stage.h:33,
                 from src/mongo/db/exec/trial_stage.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_impl.h:33,
                 from src/mongo/db/catalog/collection_impl.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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_move_chunk_command.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_move_chunk_command.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_impl.h:33,
                 from src/mongo/db/catalog/collection_impl.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_impl.h:33,
                 from src/mongo/db/catalog/collection_impl.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/catalog/libcollection_validation.a build/59f4f0dd/mongo/db/catalog/collection_validation.o build/59f4f0dd/mongo/db/catalog/validate_adaptor.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/catalog/libcollection_validation.a
c++ -o build/59f4f0dd/mongo/db/catalog/database_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/database_impl.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_raii.h:33,
                 from src/mongo/db/catalog/validate_state.h:35,
                 from src/mongo/db/catalog/index_consistency.h:33,
                 from src/mongo/db/catalog/index_consistency.cpp:36:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_raii.h:33,
                 from src/mongo/db/catalog/validate_state.h:35,
                 from src/mongo/db/catalog/index_consistency.h:33,
                 from src/mongo/db/catalog/index_consistency.cpp:36:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/catalog/database_holder_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/database_holder_impl.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_raii.h:33,
                 from src/mongo/db/catalog/validate_state.h:35,
                 from src/mongo/db/catalog/index_consistency.h:33,
                 from src/mongo/db/catalog/index_consistency.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/catalog/validate_state.h:35,
                 from src/mongo/db/catalog/index_consistency.h:33,
                 from src/mongo/db/catalog/index_consistency.cpp:36:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Generating build/59f4f0dd/mongo/db/session_txn_record_gen.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/index_catalog_impl.cpp:43:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/index_catalog_impl.cpp:43:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
Generating build/59f4f0dd/mongo/db/transactions_stats_gen.cpp
c++ -o build/59f4f0dd/mongo/db/catalog/index_catalog_entry_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/index_catalog_entry_impl.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/catalog/index_catalog_impl.cpp:43:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/index_catalog_impl.cpp:43:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/catalog/database_impl.h:32,
                 from src/mongo/db/catalog/database_impl.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/catalog/database_impl.h:32,
                 from src/mongo/db/catalog/database_impl.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
Generating build/59f4f0dd/mongo/util/net/ssl_parameters_auth_gen.cpp
c++ -o build/59f4f0dd/mongo/util/net/ssl_parameters_auth.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/net/ssl_parameters_auth.cpp
c++ -o build/59f4f0dd/mongo/db/auth/restriction_environment.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/restriction_environment.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/database.h:38,
                 from src/mongo/db/catalog/database_impl.h:32,
                 from src/mongo/db/catalog/database_impl.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/catalog/database_impl.h:32,
                 from src/mongo/db/catalog/database_impl.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/catalog/database_holder_impl.h:32,
                 from src/mongo/db/catalog/database_holder_impl.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/catalog/database_holder_impl.h:32,
                 from src/mongo/db/catalog/database_holder_impl.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/index_catalog_entry_impl.cpp:40:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/catalog/database_holder_impl.h:32,
                 from src/mongo/db/catalog/database_holder_impl.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/catalog/database_holder_impl.h:32,
                 from src/mongo/db/catalog/database_holder_impl.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/index_catalog_entry_impl.cpp:40:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/index_catalog_entry_impl.cpp:40:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/index_catalog_entry_impl.cpp:40:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/auth/libauthentication_restriction.a build/59f4f0dd/mongo/db/auth/restriction_environment.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/auth/libauthentication_restriction.a
Generating build/59f4f0dd/mongo/db/transaction_participant_gen.cpp
c++ -o build/59f4f0dd/mongo/db/transaction_participant_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/transaction_participant_gen.cpp
c++ -o build/59f4f0dd/mongo/util/net/http_client_options.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/net/http_client_options.cpp
c++ -o build/59f4f0dd/mongo/db/logical_session_cache_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/logical_session_cache_gen.cpp
c++ -o build/59f4f0dd/mongo/db/repl/replication_coordinator.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/replication_coordinator.cpp
Generating build/59f4f0dd/mongo/transport/service_executor_gen.cpp
c++ -o build/59f4f0dd/mongo/transport/service_executor_synchronous.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/transport/service_executor_synchronous.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/update/pipeline_executor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/update/pipeline_executor.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/logical_session_cache_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/logical_session_cache_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/logical_session_cache_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_round_integral.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_round_integral.c
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/db/logical_session_cache_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/logger/rotatable_file_writer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/logger/rotatable_file_writer.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lgamma.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lgamma.c
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lgamma.c: In function '__bid64_lgamma':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lgamma.c:44:29: warning: unused variable 'rt' [-Wunused-variable]
   44 |   BID_F128_TYPE xd, yd, fd, rt;
      |                             ^~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lgamma.c:44:25: warning: unused variable 'fd' [-Wunused-variable]
   44 |   BID_F128_TYPE xd, yd, fd, rt;
      |                         ^~
c++ -o build/59f4f0dd/mongo/rpc/metadata/sharding_metadata.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/rpc/metadata/sharding_metadata.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/uncommitted_collections.h:37,
                 from src/mongo/db/transaction_participant.h:36,
                 from build/59f4f0dd/mongo/db/transaction_participant_gen.h:21,
                 from build/59f4f0dd/mongo/db/transaction_participant_gen.cpp:9:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/uncommitted_collections.h:37,
                 from src/mongo/db/transaction_participant.h:36,
                 from build/59f4f0dd/mongo/db/transaction_participant_gen.h:21,
                 from build/59f4f0dd/mongo/db/transaction_participant_gen.cpp:9:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/profile_filter_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/profile_filter_impl.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/uncommitted_collections.h:37,
                 from src/mongo/db/transaction_participant.h:36,
                 from build/59f4f0dd/mongo/db/transaction_participant_gen.h:21,
                 from build/59f4f0dd/mongo/db/transaction_participant_gen.cpp:9:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/uncommitted_collections.h:37,
                 from src/mongo/db/transaction_participant.h:36,
                 from build/59f4f0dd/mongo/db/transaction_participant_gen.h:21,
                 from build/59f4f0dd/mongo/db/transaction_participant_gen.cpp:9:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/pipeline/document_source.h:45,
                 from src/mongo/db/update/pipeline_executor.h:38,
                 from src/mongo/db/update/pipeline_executor.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/storage/storage_file_util.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/storage_file_util.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/update/pipeline_executor.h:38,
                 from src/mongo/db/update/pipeline_executor.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/update/pipeline_executor.h:38,
                 from src/mongo/db/update/pipeline_executor.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/update/pipeline_executor.h:38,
                 from src/mongo/db/update/pipeline_executor.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint8.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint8.c
c++ -o build/59f4f0dd/third_party/s2/s2cellid.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DDEBUG_MODE=false -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/third_party/s2/s2cellid.cc
c++ -o build/59f4f0dd/mongo/s/client/sharding_connection_hook.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/client/sharding_connection_hook.cpp
ar rcsTD build/59f4f0dd/mongo/db/catalog/libcatalog_impl.a build/59f4f0dd/mongo/db/catalog/collection_impl.o build/59f4f0dd/mongo/db/catalog/database_holder_impl.o build/59f4f0dd/mongo/db/catalog/database_impl.o build/59f4f0dd/mongo/db/catalog/index_catalog_entry_impl.o build/59f4f0dd/mongo/db/catalog/index_catalog_impl.o build/59f4f0dd/mongo/db/catalog/index_consistency.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/catalog/libcatalog_impl.a
c++ -o build/59f4f0dd/mongo/db/pipeline/accumulation_statement.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/accumulation_statement.cpp
In file included from src/mongo/db/pipeline/expression_context.h:44,
                 from src/mongo/db/profile_filter_impl.cpp:35:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/pipeline/accumulator_first.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/accumulator_first.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/profile_filter_impl.h:34,
                 from src/mongo/db/profile_filter_impl.cpp:36:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/storage/libstorage_file_util.a build/59f4f0dd/mongo/db/storage/storage_file_util.o
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/libstorage_file_util.a
c++ -o build/59f4f0dd/mongo/db/repl/replication_auth.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/replication_auth.cpp
c++ -o build/59f4f0dd/mongo/db/auth/user_set.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/user_set.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/profile_filter_impl.h:34,
                 from src/mongo/db/profile_filter_impl.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/profile_filter_impl.h:34,
                 from src/mongo/db/profile_filter_impl.cpp:36:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/pipeline/expression.h:47,
                 from src/mongo/db/pipeline/accumulator.h:43,
                 from src/mongo/db/pipeline/accumulator_first.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
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/accumulation_statement.h:35,
                 from src/mongo/db/pipeline/accumulation_statement.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/catalog/coll_mod.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/coll_mod.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Generating build/59f4f0dd/mongo/db/auth/auth_options_gen.cpp
Generating build/59f4f0dd/mongo/db/query/distinct_command_gen.cpp
c++ -o build/59f4f0dd/mongo/db/auth/authz_manager_external_state_local.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/authz_manager_external_state_local.cpp
c++ -o build/59f4f0dd/mongo/db/query/parsed_distinct.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/parsed_distinct.cpp
c++ -o build/59f4f0dd/mongo/db/query/explain_common.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/explain_common.cpp
c++ -o build/59f4f0dd/mongo/db/query/find_common.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/find_common.cpp
c++ -o build/59f4f0dd/mongo/client/remote_command_retry_scheduler.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/remote_command_retry_scheduler.cpp
c++ -o build/59f4f0dd/mongo/db/update/modifier_table.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/update/modifier_table.cpp
Generating build/59f4f0dd/mongo/db/repl/replication_consistency_markers_gen.cpp
c++ -o build/59f4f0dd/mongo/db/repl/replication_consistency_markers_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/replication_consistency_markers_impl.cpp
c++ -o build/59f4f0dd/mongo/db/s/config/configsvr_update_zone_key_range_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/config/configsvr_update_zone_key_range_command.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/parsed_distinct.h:36,
                 from src/mongo/db/query/parsed_distinct.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/parsed_distinct.h:36,
                 from src/mongo/db/query/parsed_distinct.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/parsed_distinct.h:36,
                 from src/mongo/db/query/parsed_distinct.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/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/parsed_distinct.h:36,
                 from src/mongo/db/query/parsed_distinct.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/catalog/coll_mod.cpp:45:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/catalog/coll_mod.cpp:45:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/update/update_leaf_node.h:32,
                 from src/mongo/db/update/modifier_table.h:32,
                 from src/mongo/db/update/modifier_table.cpp:30:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/catalog/coll_mod.cpp:45:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/catalog/coll_mod.cpp:45:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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: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::MatchExpression> 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 src/mongo/db/s/config/configsvr_update_zone_key_range_command.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/client/libremote_command_retry_scheduler.a build/59f4f0dd/mongo/client/remote_command_retry_scheduler.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/client/libremote_command_retry_scheduler.a
gcc -o build/59f4f0dd/third_party/timelib/parse_zoneinfo.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -D_GNU_SOURCE -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/timelib/parse_zoneinfo.c
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/repl/replication_consistency_markers_impl.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
gcc -o build/59f4f0dd/third_party/timelib/astro.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -D_GNU_SOURCE -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/timelib/astro.c
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/s/config/configsvr_update_zone_key_range_command.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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_raii.h:33,
                 from src/mongo/db/repl/replication_consistency_markers_impl.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
gcc -o build/59f4f0dd/third_party/timelib/parse_tz.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -D_GNU_SOURCE -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/timelib/parse_tz.c
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_update_zone_key_range_command.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/catalog/collection.h:48,
                 from src/mongo/db/catalog_raii.h:33,
                 from src/mongo/db/repl/replication_consistency_markers_impl.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_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_update_zone_key_range_command.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/repl/replication_consistency_markers_impl.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/auth/libauth_impl_internal_local.a build/59f4f0dd/mongo/db/auth/authz_manager_external_state_local.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/auth/libauth_impl_internal_local.a
gcc -o build/59f4f0dd/third_party/timelib/interval.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -D_GNU_SOURCE -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/timelib/interval.c
gcc -o build/59f4f0dd/third_party/timelib/timelib.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -D_GNU_SOURCE -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/timelib/timelib.c
gcc -o build/59f4f0dd/third_party/timelib/parse_posix.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -D_GNU_SOURCE -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/timelib/parse_posix.c
In file included from /usr/include/ctype.h:97,
                 from src/third_party/timelib/timelib.c:33:
src/third_party/timelib/timelib.c: In function 'timelib_time_tz_abbr_update':
src/third_party/timelib/timelib.c:129:35: warning: array subscript has type 'char' [-Wchar-subscripts]
  129 |   tm->tz_abbr[i] = toupper(tz_abbr[i]);
      |                                   ^
gcc -o build/59f4f0dd/third_party/timelib/unixtime2tm.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -D_GNU_SOURCE -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/timelib/unixtime2tm.c
gcc -o build/59f4f0dd/third_party/timelib/dow.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -D_GNU_SOURCE -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/timelib/dow.c
gcc -o build/59f4f0dd/third_party/timelib/parse_iso_intervals.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -D_GNU_SOURCE -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/timelib/parse_iso_intervals.c
gcc -o build/59f4f0dd/third_party/timelib/tm2unixtime.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -D_GNU_SOURCE -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/timelib/tm2unixtime.c
In file included from /usr/include/ctype.h:97,
                 from parse_iso_intervals.re:28:
parse_iso_intervals.re: In function 'timelib_strtointerval':
parse_iso_intervals.re:348:24: warning: array subscript has type 'char' [-Wchar-subscripts]
parse_iso_intervals.re:351:24: warning: array subscript has type 'char' [-Wchar-subscripts]
gcc -o build/59f4f0dd/third_party/timelib/parse_date.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -D_GNU_SOURCE -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/timelib/parse_date.c
In file included from /usr/include/ctype.h:97,
                 from parse_date.re:29:
parse_date.re: In function 'timelib_skip_day_suffix':
parse_date.re:511:14: warning: array subscript has type 'char' [-Wchar-subscripts]
parse_date.re: In function 'timelib_parse_tz_cor':
parse_date.re:819:17: warning: array subscript has type 'char' [-Wchar-subscripts]
parse_date.re: In function 'timelib_parse_tz_minutes':
parse_date.re:884:17: warning: array subscript has type 'char' [-Wchar-subscripts]
c++ -o build/59f4f0dd/mongo/db/ops/delete.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/ops/delete.cpp
Generating build/59f4f0dd/mongo/db/repl/topology_coordinator_gen.cpp
parse_date.re: In function 'timelib_strtotime':
parse_date.re:1969:18: warning: array subscript has type 'char' [-Wchar-subscripts]
parse_date.re:1972:18: warning: array subscript has type 'char' [-Wchar-subscripts]
c++ -o build/59f4f0dd/third_party/s2/s2loop.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DDEBUG_MODE=false -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/third_party/s2/s2loop.cc
c++ -o build/59f4f0dd/mongo/db/repl/topology_coordinator_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/repl/topology_coordinator_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/query/libquery_common.a build/59f4f0dd/mongo/db/query/explain_common.o build/59f4f0dd/mongo/db/query/find_common.o build/59f4f0dd/mongo/db/query/parsed_distinct.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/query/libquery_common.a
c++ -o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_fmod.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/schema/expression_internal_schema_fmod.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/pipeline/accumulator_min_max.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/accumulator_min_max.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/ops/delete_request.h:37,
                 from src/mongo/db/ops/delete.h:33,
                 from src/mongo/db/ops/delete.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/59f4f0dd/mongo/db/repl/topology_coordinator_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
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/ops/delete_request.h:37,
                 from src/mongo/db/ops/delete.h:33,
                 from src/mongo/db/ops/delete.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/ops/delete_request.h:37,
                 from src/mongo/db/ops/delete.h:33,
                 from src/mongo/db/ops/delete.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/bson/bsontypes.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/bson/bsontypes.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/59f4f0dd/mongo/db/repl/topology_coordinator_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/ops/delete_request.h:37,
                 from src/mongo/db/ops/delete.h:33,
                 from src/mongo/db/ops/delete.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/repl/topology_coordinator_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/repl/topology_coordinator_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Generating build/59f4f0dd/mongo/db/create_indexes_gen.cpp
c++ -o build/59f4f0dd/mongo/db/sessions_collection.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/sessions_collection.cpp
In file included from src/mongo/db/matcher/schema/expression_internal_schema_fmod.h:32,
                 from src/mongo/db/matcher/schema/expression_internal_schema_fmod.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/schema/expression_internal_schema_fmod.cpp:32:
src/mongo/db/matcher/schema/expression_internal_schema_fmod.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaFmodMatchExpression::shallowClone() const':
src/mongo/db/matcher/schema/expression_internal_schema_fmod.h:50:25: warning: redundant move in return statement [-Wredundant-move]
   50 |         return std::move(m);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/schema/expression_internal_schema_fmod.h:50:25: note: remove 'std::move' call
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_min_max.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/repl/libreplication_consistency_markers_impl.a build/59f4f0dd/mongo/db/repl/replication_consistency_markers_impl.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libreplication_consistency_markers_impl.a
c++ -o build/59f4f0dd/mongo/s/stale_exception.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/stale_exception.cpp
In file included from src/mongo/db/pipeline/accumulator.h:43,
                 from src/mongo/db/pipeline/accumulator_min_max.cpp:32:
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionFromAccumulator<mongo::AccumulatorMax>]':
src/mongo/db/pipeline/accumulator_min_max.cpp:44:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
  350 |         return std::move(expr);
      |                              ^
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionFromAccumulator<mongo::AccumulatorMin>]':
src/mongo/db/pipeline/accumulator_min_max.cpp:45:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_tan.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_tan.c
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/concurrency/replication_state_transition_lock_guard.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/concurrency/replication_state_transition_lock_guard.cpp
c++ -o build/59f4f0dd/mongo/db/commands/connection_status.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/connection_status.cpp
ar rcsTD build/59f4f0dd/third_party/timelib/libtimelib.a build/59f4f0dd/third_party/timelib/astro.o build/59f4f0dd/third_party/timelib/dow.o build/59f4f0dd/third_party/timelib/interval.o build/59f4f0dd/third_party/timelib/parse_date.o build/59f4f0dd/third_party/timelib/parse_iso_intervals.o build/59f4f0dd/third_party/timelib/parse_tz.o build/59f4f0dd/third_party/timelib/parse_posix.o build/59f4f0dd/third_party/timelib/parse_zoneinfo.o build/59f4f0dd/third_party/timelib/timelib.o build/59f4f0dd/third_party/timelib/tm2unixtime.o build/59f4f0dd/third_party/timelib/unixtime2tm.o
Skipping ranlib for thin archive build/59f4f0dd/third_party/timelib/libtimelib.a
c++ -o build/59f4f0dd/mongo/db/exec/scoped_timer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/scoped_timer.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/s/write_ops/batch_write_exec.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/write_ops/batch_write_exec.cpp
c++ -o build/59f4f0dd/mongo/s/write_ops/write_op.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/write_ops/write_op.cpp
c++ -o build/59f4f0dd/mongo/s/write_ops/chunk_manager_targeter.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/write_ops/chunk_manager_targeter.cpp
ar rcsTD build/59f4f0dd/mongo/db/exec/libscoped_timer.a build/59f4f0dd/mongo/db/exec/scoped_timer.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/exec/libscoped_timer.a
c++ -o build/59f4f0dd/mongo/s/write_ops/batch_write_op.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/write_ops/batch_write_op.cpp
Generating build/59f4f0dd/mongo/db/ftdc/ftdc_server_gen.cpp
c++ -o build/59f4f0dd/mongo/db/storage/biggie/biggie_sorted_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/biggie/biggie_sorted_impl.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/connection_status.cpp:35:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/ftdc/ftdc_server.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/ftdc/ftdc_server.cpp
Generating build/59f4f0dd/mongo/db/concurrency/write_conflict_exception_gen.cpp
c++ -o build/59f4f0dd/mongo/db/concurrency/write_conflict_exception_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/concurrency/write_conflict_exception_gen.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/commands/connection_status.cpp:35:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595: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::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/connection_status.cpp:35:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/connection_status.cpp:35:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
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/storage/biggie/biggie_sorted_impl.cpp:40:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/storage/biggie/biggie_sorted_impl.cpp:40:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/exec/plan_stage.h:37,
                 from src/mongo/db/query/explain.h:32,
                 from src/mongo/db/commands.h:47,
                 from src/mongo/db/ftdc/ftdc_server.h:36,
                 from src/mongo/db/ftdc/ftdc_server.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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::MatchExpression> 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/s/write_ops/chunk_manager_targeter.cpp:39:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/storage/biggie/biggie_sorted_impl.cpp:40:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/storage/biggie/biggie_sorted_impl.cpp:40:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/ftdc/ftdc_server.h:36,
                 from src/mongo/db/ftdc/ftdc_server.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/ftdc/ftdc_server.h:36,
                 from src/mongo/db/ftdc/ftdc_server.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/concurrency/write_conflict_exception.h:35,
                 from build/59f4f0dd/mongo/db/concurrency/write_conflict_exception_gen.h:21,
                 from build/59f4f0dd/mongo/db/concurrency/write_conflict_exception_gen.cpp:9:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/ftdc/ftdc_server.h:36,
                 from src/mongo/db/ftdc/ftdc_server.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574: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::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
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/concurrency/write_conflict_exception.h:35,
                 from build/59f4f0dd/mongo/db/concurrency/write_conflict_exception_gen.h:21,
                 from build/59f4f0dd/mongo/db/concurrency/write_conflict_exception_gen.cpp:9:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/catalog/collection_catalog.h:36,
                 from src/mongo/db/curop.h:35,
                 from src/mongo/db/concurrency/write_conflict_exception.h:35,
                 from build/59f4f0dd/mongo/db/concurrency/write_conflict_exception_gen.h:21,
                 from build/59f4f0dd/mongo/db/concurrency/write_conflict_exception_gen.cpp:9:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/concurrency/write_conflict_exception.h:35,
                 from build/59f4f0dd/mongo/db/concurrency/write_conflict_exception_gen.h:21,
                 from build/59f4f0dd/mongo/db/concurrency/write_conflict_exception_gen.cpp:9:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/wire_version.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/wire_version.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_quantize.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_quantize.c
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/storage/bson_collection_catalog_entry.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/bson_collection_catalog_entry.cpp
c++ -o build/59f4f0dd/mongo/s/catalog/type_shard_collection_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/s/catalog/type_shard_collection_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
gcc -o build/59f4f0dd/third_party/wiredtiger/src/history/hs_cursor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/history/hs_cursor.c
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_string.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_string.c
c++ -o build/59f4f0dd/mongo/util/read_through_cache.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/read_through_cache.cpp
c++ -o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_xor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/schema/expression_internal_schema_xor.cpp
c++ -o build/59f4f0dd/mongo/db/exec/multi_iterator.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/multi_iterator.cpp
c++ -o build/59f4f0dd/mongo/db/auth/authz_session_external_state.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/authz_session_external_state.cpp
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_sample_from_random_cursor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_sample_from_random_cursor.cpp
ar rcsTD build/59f4f0dd/mongo/s/write_ops/libcluster_write_op.a build/59f4f0dd/mongo/s/write_ops/batch_write_exec.o build/59f4f0dd/mongo/s/write_ops/batch_write_op.o build/59f4f0dd/mongo/s/write_ops/chunk_manager_targeter.o build/59f4f0dd/mongo/s/write_ops/write_op.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/write_ops/libcluster_write_op.a
gcc -o build/59f4f0dd/third_party/wiredtiger/src/os_posix/os_dir.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/os_posix/os_dir.c
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/59f4f0dd/mongo/s/catalog/type_shard_collection_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/third_party/shim_allocator.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/shim_allocator.cpp
c++ -o build/59f4f0dd/mongo/util/allocator.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/allocator.cpp
ar rcsTD build/59f4f0dd/mongo/db/storage/libbson_collection_catalog_entry.a build/59f4f0dd/mongo/db/storage/bson_collection_catalog_entry.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/libbson_collection_catalog_entry.a
c++ -o build/59f4f0dd/third_party/shim_icu.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/shim_icu.cpp
c++ -o build/59f4f0dd/mongo/db/commands/explain_cmd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/explain_cmd.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/59f4f0dd/mongo/s/catalog/type_shard_collection_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/third_party/libshim_icu.a build/59f4f0dd/third_party/shim_icu.o
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
Skipping ranlib for thin archive build/59f4f0dd/third_party/libshim_icu.a
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/repl/replication_coordinator_noop.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/replication_coordinator_noop.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/s/catalog/type_shard_collection_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/s/catalog/type_shard_collection_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/schema/expression_internal_schema_xor.h:32,
                 from src/mongo/db/matcher/schema/expression_internal_schema_xor.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/schema/expression_internal_schema_xor.cpp:32:
src/mongo/db/matcher/schema/expression_internal_schema_xor.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaXorMatchExpression::shallowClone() const':
src/mongo/db/matcher/schema/expression_internal_schema_xor.h:58:25: warning: redundant move in return statement [-Wredundant-move]
   58 |         return std::move(xorCopy);
      |                ~~~~~~~~~^~~~~~~~~
src/mongo/db/matcher/schema/expression_internal_schema_xor.h:58:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/util/libcaching.a build/59f4f0dd/mongo/util/read_through_cache.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/libcaching.a
c++ -o build/59f4f0dd/mongo/db/repl/repl_client_info.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/repl_client_info.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/exec/multi_iterator.h:35,
                 from src/mongo/db/exec/multi_iterator.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/repl/always_allow_non_local_writes.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/always_allow_non_local_writes.cpp
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/multi_iterator.h:35,
                 from src/mongo/db/exec/multi_iterator.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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_sample_from_random_cursor.h:33,
                 from src/mongo/db/pipeline/document_source_sample_from_random_cursor.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/third_party/s2/s2polygon.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DDEBUG_MODE=false -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/third_party/s2/s2polygon.cc
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/multi_iterator.h:35,
                 from src/mongo/db/exec/multi_iterator.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/exec/multi_iterator.h:35,
                 from src/mongo/db/exec/multi_iterator.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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_sample_from_random_cursor.h:33,
                 from src/mongo/db/pipeline/document_source_sample_from_random_cursor.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_sample_from_random_cursor.h:33,
                 from src/mongo/db/pipeline/document_source_sample_from_random_cursor.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_sample_from_random_cursor.h:33,
                 from src/mongo/db/pipeline/document_source_sample_from_random_cursor.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/command_can_run_here.h:34,
                 from src/mongo/db/commands/explain_cmd.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/command_can_run_here.h:34,
                 from src/mongo/db/commands/explain_cmd.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/command_can_run_here.h:34,
                 from src/mongo/db/commands/explain_cmd.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/command_can_run_here.h:34,
                 from src/mongo/db/commands/explain_cmd.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Generating build/59f4f0dd/mongo/db/storage/wiredtiger/oplog_stone_parameters_gen.cpp
c++ -o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_global_options.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/valgrind-3.14.0/include -Ibuild/59f4f0dd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_global_options.cpp
c++ -o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_record_store.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/valgrind-3.14.0/include -Ibuild/59f4f0dd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp
c++ -o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_cursor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/valgrind-3.14.0/include -Ibuild/59f4f0dd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_cursor.cpp
c++ -o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_begin_transaction_block.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/valgrind-3.14.0/include -Ibuild/59f4f0dd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_begin_transaction_block.cpp
ar rcsTD build/59f4f0dd/mongo/db/repl/librepl_coordinator_interface.a build/59f4f0dd/mongo/db/repl/always_allow_non_local_writes.o build/59f4f0dd/mongo/db/repl/repl_client_info.o build/59f4f0dd/mongo/db/repl/replication_coordinator.o build/59f4f0dd/mongo/db/repl/replication_coordinator_noop.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/librepl_coordinator_interface.a
Generating build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_parameters_gen.cpp
Generating build/59f4f0dd/mongo/db/storage/storage_parameters_gen.cpp
Generating build/59f4f0dd/mongo/db/mongod_options_storage_gen.cpp
c++ -o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/valgrind-3.14.0/include -Ibuild/59f4f0dd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_parameters.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/valgrind-3.14.0/include -Ibuild/59f4f0dd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_parameters.cpp
c++ -o build/59f4f0dd/mongo/db/storage/wiredtiger/oplog_stones_server_status_section.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/valgrind-3.14.0/include -Ibuild/59f4f0dd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/wiredtiger/oplog_stones_server_status_section.cpp
c++ -o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_index.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/valgrind-3.14.0/include -Ibuild/59f4f0dd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_index.cpp
c++ -o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_parameters_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/valgrind-3.14.0/include -Ibuild/59f4f0dd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_parameters_gen.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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp:47:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_snapshot_manager.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/valgrind-3.14.0/include -Ibuild/59f4f0dd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_snapshot_manager.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp:47:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_util.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/valgrind-3.14.0/include -Ibuild/59f4f0dd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_util.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/curop.h:35,
                 from src/mongo/db/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp:47:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp:47:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/storage/wiredtiger/wiredtiger_kv_engine.cpp:60:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/catalog/collection.h:48,
                 from src/mongo/db/catalog/collection_catalog.h:36,
                 from src/mongo/db/curop.h:35,
                 from src/mongo/db/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.h:32,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_index.h:39,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_index.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_parameters_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.h:32,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_index.h:39,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_index.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/storage/wiredtiger/wiredtiger_kv_engine.cpp:60:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_parameters_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574: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/storage/wiredtiger/wiredtiger_kv_engine.cpp:60:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_parameters_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_oplog_manager.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/valgrind-3.14.0/include -Ibuild/59f4f0dd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_oplog_manager.cpp
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/storage/wiredtiger/wiredtiger_kv_engine.cpp:60:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_parameters_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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: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::MatchExpression> 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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.h:32,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_index.h:39,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_index.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.h:32,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_index.h:39,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_index.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/curop.h:35,
                 from src/mongo/db/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp:44:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp:44:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/valgrind-3.14.0/include -Ibuild/59f4f0dd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.cpp
src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp: In member function 'virtual std::unique_ptr<mongo::RecordStore> mongo::WiredTigerKVEngine::getGroupedRecordStore(mongo::OperationContext*, mongo::StringData, mongo::StringData, const mongo::CollectionOptions&, mongo::KVPrefix)':
src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp:1571:21: warning: redundant move in return statement [-Wredundant-move]
 1571 |     return std::move(ret);
      |            ~~~~~~~~~^~~~~
src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp:1571:21: 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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp:44:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/storage/wiredtiger/wiredtiger_kv_engine.cpp: In member function 'virtual std::unique_ptr<mongo::RecordStore> mongo::WiredTigerKVEngine::makeTemporaryRecordStore(mongo::OperationContext*, mongo::StringData)':
src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp:1670:21: warning: redundant move in return statement [-Wredundant-move]
 1670 |     return std::move(rs);
      |            ~~~~~~~~~^~~~
src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp:1670:21: 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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp:44:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_session_cache.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/valgrind-3.14.0/include -Ibuild/59f4f0dd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_session_cache.cpp
c++ -o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_size_storer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/valgrind-3.14.0/include -Ibuild/59f4f0dd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_size_storer.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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.h:32,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.h:32,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/valgrind-3.14.0/include -Ibuild/59f4f0dd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp
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/storage/wiredtiger/wiredtiger_kv_engine.cpp:60:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.h:32,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.h:32,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_session_cache.cpp:39:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/util/progress_meter.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/progress_meter.cpp
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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_session_cache.cpp:39:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_session_cache.cpp:39:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_session_cache.cpp:39:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_skip.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_skip.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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.h:32,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp:40:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/third_party/s2/s2latlngrect.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DDEBUG_MODE=false -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/third_party/s2/s2latlngrect.cc
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/collection_catalog.h:36,
                 from src/mongo/db/curop.h:35,
                 from src/mongo/db/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.h:32,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp:40:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.h:32,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp:40:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.h:32,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp:40:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_feclearexcept.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_feclearexcept.c
Generating build/59f4f0dd/mongo/db/commands/test_commands_enabled_gen.cpp
c++ -o build/59f4f0dd/mongo/db/commands/pipeline_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/pipeline_command.cpp
c++ -o build/59f4f0dd/mongo/db/exec/update_stage.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/update_stage.cpp
c++ -o build/59f4f0dd/mongo/db/commands/test_commands_enabled.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/test_commands_enabled.cpp
c++ -o build/59f4f0dd/mongo/db/commands/test_commands_enabled_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/commands/test_commands_enabled_gen.cpp
c++ -o build/59f4f0dd/mongo/db/service_entry_point_mongod.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/service_entry_point_mongod.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/pipeline/document_source.h:45,
                 from src/mongo/db/pipeline/document_source_skip.h:32,
                 from src/mongo/db/pipeline/document_source_skip.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/document_source_skip.h:32,
                 from src/mongo/db/pipeline/document_source_skip.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_skip.h:32,
                 from src/mongo/db/pipeline/document_source_skip.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_skip.h:32,
                 from src/mongo/db/pipeline/document_source_skip.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Generating build/59f4f0dd/mongo/s/mongos_server_parameters_gen.cpp
c++ -o build/59f4f0dd/mongo/s/mongos_server_parameters_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/s/mongos_server_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/commands/pipeline_command.cpp:33:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/commands/pipeline_command.cpp:33:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/pipeline_command.cpp:33:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/s/mongos_server_parameters.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/mongos_server_parameters.cpp
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/pipeline_command.cpp:33:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/exec/update_stage.h:33,
                 from src/mongo/db/exec/update_stage.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/update_stage.h:33,
                 from src/mongo/db/exec/update_stage.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/commands/test_commands_enabled_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/exec/update_stage.h:33,
                 from src/mongo/db/exec/update_stage.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/exec/update_stage.h:33,
                 from src/mongo/db/exec/update_stage.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/s/mongos_server_parameters_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/commands/test_commands_enabled_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/commands/test_commands_enabled_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/commands/test_commands_enabled_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/curop.h:35,
                 from src/mongo/db/service_entry_point_mongod.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/storage/wiredtiger/libstorage_wiredtiger_core.a build/59f4f0dd/mongo/db/storage/wiredtiger/oplog_stones_server_status_section.o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_begin_transaction_block.o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_cursor.o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_global_options.o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_index.o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_oplog_manager.o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_parameters.o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_record_store.o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_session_cache.o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_snapshot_manager.o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_size_storer.o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_util.o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_parameters_gen.o
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/service_entry_point_mongod.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/s/mongos_server_parameters_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/wiredtiger/libstorage_wiredtiger_core.a
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/s/client/shard_factory.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/client/shard_factory.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/s/mongos_server_parameters_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/s/mongos_server_parameters_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/service_entry_point_mongod.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/util/processinfo.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/processinfo.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
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/service_entry_point_mongod.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Generating build/59f4f0dd/mongo/util/testing_options_gen.cpp
c++ -o build/59f4f0dd/mongo/util/testing_options.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/testing_options.cpp
c++ -o build/59f4f0dd/mongo/db/repl/oplog_interface_remote.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/oplog_interface_remote.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/util/boost_assert_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/boost_assert_impl.cpp
c++ -o build/59f4f0dd/mongo/db/repl/roll_back_local_operations.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/roll_back_local_operations.cpp
ar rcsTD build/59f4f0dd/mongo/db/commands/libtest_commands_enabled.a build/59f4f0dd/mongo/db/commands/test_commands_enabled.o build/59f4f0dd/mongo/db/commands/test_commands_enabled_gen.o
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/commands/libtest_commands_enabled.a
c++ -o build/59f4f0dd/third_party/abseil-cpp-master/abseil-cpp/absl/hash/internal/city.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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/abseil-cpp-master/abseil-cpp -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/abseil-cpp-master/abseil-cpp/absl/hash/internal/city.cc
c++ -o build/59f4f0dd/mongo/db/fts/fts_query_parser.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/libstemmer_c/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/fts/fts_query_parser.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_nearbyintd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_nearbyintd.c
ar rcsTD build/59f4f0dd/mongo/s/libmongos_server_parameters.a build/59f4f0dd/mongo/s/mongos_server_parameters.o build/59f4f0dd/mongo/s/mongos_server_parameters_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/libmongos_server_parameters.a
c++ -o build/59f4f0dd/mongo/db/ftdc/decompressor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/ftdc/decompressor.cpp
gcc -o build/59f4f0dd/third_party/libstemmer_c/src_c/stem_UTF_8_porter.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -fno-strict-overflow -DNDEBUG -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/libstemmer_c/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/libstemmer_c/src_c/stem_UTF_8_porter.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_round_integral.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_round_integral.c
Generating build/59f4f0dd/mongo/db/commands/map_reduce_gen.cpp
c++ -o build/59f4f0dd/mongo/db/commands/hashcmd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/hashcmd.cpp
c++ -o build/59f4f0dd/mongo/db/commands/map_reduce_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/commands/map_reduce_gen.cpp
ar rcsTD build/59f4f0dd/mongo/db/libservice_context_d.a build/59f4f0dd/mongo/db/service_entry_point_mongod.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libservice_context_d.a
c++ -o build/59f4f0dd/mongo/db/exec/document_value/document_metadata_fields.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/document_value/document_metadata_fields.cpp
gcc -o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_split.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/btree/bt_split.c
c++ -o build/59f4f0dd/mongo/db/commands/generic_servers.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/generic_servers.cpp
c++ -o build/59f4f0dd/mongo/scripting/mozjs/jscustomallocator.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/jscustomallocator.cpp
c++ -o build/59f4f0dd/mongo/db/sessions_collection_rs.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/sessions_collection_rs.cpp
c++ -o build/59f4f0dd/mongo/db/periodic_runner_job_abort_expired_transactions.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/periodic_runner_job_abort_expired_transactions.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_rem.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_rem.c
c++ -o build/59f4f0dd/mongo/db/introspect.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/introspect.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/hashcmd.cpp:42:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/hashcmd.cpp:42:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/repl/is_master_response.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/is_master_response.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/commands/map_reduce_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/hashcmd.cpp:42:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/hashcmd.cpp:42:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/commands/generic_servers.cpp:36:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/commands/map_reduce_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/commands/map_reduce_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_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/generic_servers.cpp:36:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/59f4f0dd/mongo/db/commands/map_reduce_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/generic_servers.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/generic_servers.cpp:36:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/timer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/log/src/timer.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/introspect.cpp:40:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
Generating build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_global_options_gen.cpp
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/introspect.cpp:40:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/uncommitted_collections.h:37,
                 from src/mongo/db/transaction_participant.h:36,
                 from src/mongo/db/periodic_runner_job_abort_expired_transactions.cpp:39:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_global_options_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/valgrind-3.14.0/include -Ibuild/59f4f0dd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_global_options_gen.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/uncommitted_collections.h:37,
                 from src/mongo/db/transaction_participant.h:36,
                 from src/mongo/db/periodic_runner_job_abort_expired_transactions.cpp:39:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_options_init.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/valgrind-3.14.0/include -Ibuild/59f4f0dd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_options_init.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/introspect.cpp:40:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/introspect.cpp:40:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_server_status.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/valgrind-3.14.0/include -Ibuild/59f4f0dd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_server_status.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/uncommitted_collections.h:37,
                 from src/mongo/db/transaction_participant.h:36,
                 from src/mongo/db/periodic_runner_job_abort_expired_transactions.cpp:39:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/uncommitted_collections.h:37,
                 from src/mongo/db/transaction_participant.h:36,
                 from src/mongo/db/periodic_runner_job_abort_expired_transactions.cpp:39:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_init.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/valgrind-3.14.0/include -Ibuild/59f4f0dd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_init.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Generating build/59f4f0dd/mongo/db/repl/replication_metrics_gen.cpp
Generating build/59f4f0dd/mongo/db/repl/election_reason_counter_gen.cpp
c++ -o build/59f4f0dd/mongo/db/repl/replication_metrics.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/replication_metrics.cpp
c++ -o build/59f4f0dd/mongo/db/repl/replication_metrics_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/repl/replication_metrics_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 build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_global_options_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/commands/server_status.h:32,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_server_status.h:32,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_server_status.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/unclean_shutdown.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/unclean_shutdown.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/storage/durable_catalog_impl.h:37,
                 from src/mongo/db/storage/durable_catalog_feature_tracker.h:36,
                 from src/mongo/db/storage/storage_engine_impl.h:42,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_init.cpp:42:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_global_options_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/wiredtiger/wiredtiger_server_status.h:32,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_server_status.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574: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/storage/durable_catalog_impl.h:37,
                 from src/mongo/db/storage/durable_catalog_feature_tracker.h:36,
                 from src/mongo/db/storage/storage_engine_impl.h:42,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_init.cpp:42:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/wiredtiger/wiredtiger_server_status.h:32,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_server_status.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/server_status.h:32,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_server_status.h:32,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_server_status.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_global_options_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_global_options_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/storage/durable_catalog_impl.h:37,
                 from src/mongo/db/storage/durable_catalog_feature_tracker.h:36,
                 from src/mongo/db/storage/storage_engine_impl.h:42,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_init.cpp:42:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/storage/durable_catalog_impl.h:37,
                 from src/mongo/db/storage/durable_catalog_feature_tracker.h:36,
                 from src/mongo/db/storage/storage_engine_impl.h:42,
                 from src/mongo/db/storage/wiredtiger/wiredtiger_init.cpp:42:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/libintrospect.a build/59f4f0dd/mongo/db/introspect.o
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/59f4f0dd/mongo/db/repl/replication_metrics_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libintrospect.a
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/repl/replication_metrics.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/matcher/expression_geo.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/expression_geo.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/59f4f0dd/mongo/db/repl/replication_metrics_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/repl/replication_metrics.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/repl/replication_metrics_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/repl/replication_metrics_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from src/mongo/db/commands/server_status.h:32,
                 from src/mongo/db/repl/replication_metrics.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
Generating build/59f4f0dd/mongo/db/repl/database_cloner_gen.cpp
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/commands/server_status.h:32,
                 from src/mongo/db/repl/replication_metrics.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/repl/database_cloner.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/database_cloner.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/repl/collection_cloner.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/collection_cloner.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/repl/database_cloner_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/repl/database_cloner_gen.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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/expression_geo.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/base_cloner.h:39,
                 from src/mongo/db/repl/database_cloner.h:34,
                 from src/mongo/db/repl/database_cloner.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/repl/base_cloner.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/base_cloner.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
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/base_cloner.h:39,
                 from src/mongo/db/repl/database_cloner.h:34,
                 from src/mongo/db/repl/database_cloner.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/base_cloner.h:39,
                 from src/mongo/db/repl/database_cloner.h:34,
                 from src/mongo/db/repl/database_cloner.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/base_cloner.h:39,
                 from src/mongo/db/repl/database_cloner.h:34,
                 from src/mongo/db/repl/database_cloner.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_geo.cpp: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/repl/all_database_cloner.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/all_database_cloner.cpp
ar rcsTD build/59f4f0dd/mongo/db/storage/wiredtiger/libstorage_wiredtiger.a build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_init.o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_options_init.o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_server_status.o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_global_options_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/wiredtiger/libstorage_wiredtiger.a
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/base_cloner.h:39,
                 from src/mongo/db/repl/collection_cloner.h:35,
                 from src/mongo/db/repl/collection_cloner.cpp:41:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/s/catalog/dist_lock_catalog_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/catalog/dist_lock_catalog_impl.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/base_cloner.h:39,
                 from src/mongo/db/repl/collection_cloner.h:35,
                 from src/mongo/db/repl/collection_cloner.cpp:41:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/repl/libreplication_metrics.a build/59f4f0dd/mongo/db/repl/replication_metrics.o build/59f4f0dd/mongo/db/repl/replication_metrics_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libreplication_metrics.a
c++ -o build/59f4f0dd/mongo/transport/transport_layer_manager.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/transport/transport_layer_manager.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/repl/storage_interface.h:40,
                 from src/mongo/db/repl/base_cloner.h:39,
                 from src/mongo/db/repl/collection_cloner.h:35,
                 from src/mongo/db/repl/collection_cloner.cpp:41:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/repl/storage_interface.h:40,
                 from src/mongo/db/repl/base_cloner.h:39,
                 from src/mongo/db/repl/database_cloner.h:34,
                 from build/59f4f0dd/mongo/db/repl/database_cloner_gen.h:23,
                 from build/59f4f0dd/mongo/db/repl/database_cloner_gen.cpp:9:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/base_cloner.h:39,
                 from src/mongo/db/repl/collection_cloner.h:35,
                 from src/mongo/db/repl/collection_cloner.cpp:41:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/base_cloner.h:39,
                 from src/mongo/db/repl/database_cloner.h:34,
                 from build/59f4f0dd/mongo/db/repl/database_cloner_gen.h:23,
                 from build/59f4f0dd/mongo/db/repl/database_cloner_gen.cpp:9:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/repl/storage_interface.h:40,
                 from src/mongo/db/repl/base_cloner.h:39,
                 from src/mongo/db/repl/database_cloner.h:34,
                 from build/59f4f0dd/mongo/db/repl/database_cloner_gen.h:23,
                 from build/59f4f0dd/mongo/db/repl/database_cloner_gen.cpp:9:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/base_cloner.h:39,
                 from src/mongo/db/repl/database_cloner.h:34,
                 from build/59f4f0dd/mongo/db/repl/database_cloner_gen.h:23,
                 from build/59f4f0dd/mongo/db/repl/database_cloner_gen.cpp:9:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/base_cloner.h:39,
                 from src/mongo/db/repl/base_cloner.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/log_process_details.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/log_process_details.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/base_cloner.h:39,
                 from src/mongo/db/repl/base_cloner.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/repl/storage_interface.h:40,
                 from src/mongo/db/repl/base_cloner.h:39,
                 from src/mongo/db/repl/base_cloner.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/base_cloner.h:39,
                 from src/mongo/db/repl/base_cloner.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/base_cloner.h:39,
                 from src/mongo/db/repl/all_database_cloner.h:34,
                 from src/mongo/db/repl/all_database_cloner.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/base_cloner.h:39,
                 from src/mongo/db/repl/all_database_cloner.h:34,
                 from src/mongo/db/repl/all_database_cloner.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/base_cloner.h:39,
                 from src/mongo/db/repl/all_database_cloner.h:34,
                 from src/mongo/db/repl/all_database_cloner.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/base_cloner.h:39,
                 from src/mongo/db/repl/all_database_cloner.h:34,
                 from src/mongo/db/repl/all_database_cloner.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/rpc/legacy_reply.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/rpc/legacy_reply.cpp
c++ -o build/59f4f0dd/mongo/db/exec/merge_sort.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/merge_sort.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/s/catalog/type_shard_database.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/catalog/type_shard_database.cpp
c++ -o build/59f4f0dd/mongo/db/repl/storage_interface.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/storage_interface.cpp
ar rcsTD build/59f4f0dd/mongo/s/catalog/libdist_lock_catalog_impl.a build/59f4f0dd/mongo/s/catalog/dist_lock_catalog_impl.o
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/catalog/libdist_lock_catalog_impl.a
c++ -o build/59f4f0dd/mongo/db/exec/fetch.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/fetch.cpp
c++ -o build/59f4f0dd/mongo/db/exec/shard_filterer_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/shard_filterer_impl.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/exec/merge_sort.h:36,
                 from src/mongo/db/exec/merge_sort.cpp:30:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/commands/isself.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/isself.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/catalog/index_key_validate.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/index_key_validate.cpp
ar rcsTD build/59f4f0dd/mongo/db/liblog_process_details.a build/59f4f0dd/mongo/db/log_process_details.o
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/storage_interface.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/liblog_process_details.a
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
gcc -o build/59f4f0dd/third_party/wiredtiger/src/block/block_read.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/block/block_read.c
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/storage_interface.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/storage_interface.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/storage_interface.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/fetch.h:34,
                 from src/mongo/db/exec/fetch.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/fetch.h:34,
                 from src/mongo/db/exec/fetch.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/record_ostream.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/log/src/record_ostream.cpp
ar rcsTD build/59f4f0dd/mongo/db/repl/libinitial_sync_cloners.a build/59f4f0dd/mongo/db/repl/all_database_cloner.o build/59f4f0dd/mongo/db/repl/base_cloner.o build/59f4f0dd/mongo/db/repl/collection_cloner.o build/59f4f0dd/mongo/db/repl/database_cloner.o build/59f4f0dd/mongo/db/repl/database_cloner_gen.o
c++ -o build/59f4f0dd/mongo/util/version.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/version.cpp
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libinitial_sync_cloners.a
Generating build/59f4f0dd/mongo/db/s/add_shard_cmd_gen.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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/fetch.h:34,
                 from src/mongo/db/exec/fetch.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/s/type_shard_identity.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/type_shard_identity.cpp
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/fetch.h:34,
                 from src/mongo/db/exec/fetch.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/commands/isself.cpp:33:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/exec/plan_stage.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/plan_stage.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/commands/isself.cpp:33:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/isself.cpp:33:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/isself.cpp:33:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/exec/requires_collection_stage.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/requires_collection_stage.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/scripting/mozjs/jsstringwrapper.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/jsstringwrapper.cpp
ar rcsTD build/59f4f0dd/mongo/db/repl/libstorage_interface.a build/59f4f0dd/mongo/db/repl/storage_interface.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libstorage_interface.a
Generating build/59f4f0dd/mongo/db/s/sharding_runtime_d_params_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
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/plan_stage.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/s/sharding_runtime_d_params_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/s/sharding_runtime_d_params_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/catalog/index_catalog_entry.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/index_catalog_entry.cpp
c++ -o build/59f4f0dd/mongo/transport/message_compressor_registry.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/transport/message_compressor_registry.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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/requires_collection_stage.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/update/rename_node.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/update/rename_node.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/exec/projection_node.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/projection_node.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/requires_collection_stage.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_eq.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/schema/expression_internal_schema_eq.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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/requires_collection_stage.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/requires_collection_stage.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/db/s/sharding_runtime_d_params_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
Generating build/59f4f0dd/mongo/db/keys_collection_manager_gen.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/59f4f0dd/mongo/db/s/sharding_runtime_d_params_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/keys_collection_manager_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/keys_collection_manager_gen.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/s/sharding_runtime_d_params_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/s/sharding_runtime_d_params_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/update/update_leaf_node.h:32,
                 from src/mongo/db/update/rename_node.h:38,
                 from src/mongo/db/update/rename_node.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/schema/expression_internal_schema_eq.h:35,
                 from src/mongo/db/matcher/schema/expression_internal_schema_eq.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/catalog/libindex_catalog_entry.a build/59f4f0dd/mongo/db/catalog/index_catalog_entry.o
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/third_party/s2/s2cell.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DDEBUG_MODE=false -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/third_party/s2/s2cell.cc
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/catalog/libindex_catalog_entry.a
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/session_killer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/session_killer.cpp
src/mongo/db/matcher/schema/expression_internal_schema_eq.cpp: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaEqMatchExpression::shallowClone() const':
src/mongo/db/matcher/schema/expression_internal_schema_eq.cpp:90:21: warning: redundant move in return statement [-Wredundant-move]
   90 |     return std::move(clone);
      |            ~~~~~~~~~^~~~~~~
src/mongo/db/matcher/schema/expression_internal_schema_eq.cpp:90:21: note: remove 'std::move' call
In file included from src/mongo/db/update/path_support.h:40,
                 from src/mongo/db/update/rename_node.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int32.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int32.c
c++ -o build/59f4f0dd/mongo/db/server_options_server_helpers.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/server_options_server_helpers.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/projection_node.h:32,
                 from src/mongo/db/exec/projection_node.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/auth/action_set.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/action_set.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/projection_node.h:32,
                 from src/mongo/db/exec/projection_node.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_node.h:32,
                 from src/mongo/db/exec/projection_node.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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/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/59f4f0dd/mongo/db/keys_collection_manager_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_node.h:32,
                 from src/mongo/db/exec/projection_node.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/s/migration_destination_manager.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/migration_destination_manager.cpp
Generating build/59f4f0dd/mongo/s/request_types/clone_catalog_data_gen.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/59f4f0dd/mongo/db/keys_collection_manager_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/s/request_types/clone_catalog_data_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/s/request_types/clone_catalog_data_gen.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/keys_collection_manager_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/keys_collection_manager_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/fts/fts_basic_tokenizer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/libstemmer_c/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/fts/fts_basic_tokenizer.cpp
ar rcsTD build/59f4f0dd/mongo/db/s/libsharding_runtime_d_params.a build/59f4f0dd/mongo/db/s/sharding_runtime_d_params_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/s/libsharding_runtime_d_params.a
c++ -o build/59f4f0dd/mongo/bson/oid.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/bson/oid.cpp
c++ -o build/59f4f0dd/mongo/db/mongod_options_init.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/mongod_options_init.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/client/sdam/server_description.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/sdam/server_description.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/59f4f0dd/mongo/s/request_types/clone_catalog_data_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 build/59f4f0dd/mongo/s/request_types/clone_catalog_data_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/s/request_types/clone_catalog_data_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/s/request_types/clone_catalog_data_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Generating build/59f4f0dd/mongo/db/s/transaction_coordinator_document_gen.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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/s/migration_destination_manager.cpp:41:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/s/migration_destination_manager.cpp:41:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/commands/shutdown_d.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/shutdown_d.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/curop.h:35,
                 from src/mongo/db/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/s/migration_destination_manager.cpp:41:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/s/migration_destination_manager.cpp:41:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/util/concurrency/idle_thread_block.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/concurrency/idle_thread_block.cpp
Generating build/59f4f0dd/mongo/db/read_write_concern_defaults_gen.cpp
c++ -o build/59f4f0dd/mongo/db/read_write_concern_defaults_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/read_write_concern_defaults_gen.cpp
c++ -o build/59f4f0dd/mongo/util/dns_query.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/dns_query.cpp
ar rcsTD build/59f4f0dd/mongo/libmongod_options_init.a build/59f4f0dd/mongo/db/mongod_options_init.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/libmongod_options_init.a
c++ -o build/59f4f0dd/mongo/base/init.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/base/init.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/libserver_options_servers.a build/59f4f0dd/mongo/db/server_options_server_helpers.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libserver_options_servers.a
Generating build/59f4f0dd/mongo/db/commands/list_databases_gen.cpp
c++ -o build/59f4f0dd/mongo/transport/service_entry_point_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/transport/service_entry_point_impl.cpp
c++ -o build/59f4f0dd/mongo/db/commands/list_databases_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/commands/list_databases_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/commands/shutdown.h:34,
                 from src/mongo/db/commands/shutdown_d.cpp:36:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
Generating build/59f4f0dd/mongo/db/traffic_recorder_gen.cpp
c++ -o build/59f4f0dd/mongo/db/s/move_timing_helper.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/move_timing_helper.cpp
c++ -o build/59f4f0dd/mongo/db/storage/downgraded_unique_indexes.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/downgraded_unique_indexes.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/59f4f0dd/mongo/db/read_write_concern_defaults_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/transport/service_state_machine.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/transport/service_state_machine.cpp
ar rcsTD build/59f4f0dd/mongo/db/storage/libdowngraded_unique_indexes.a build/59f4f0dd/mongo/db/storage/downgraded_unique_indexes.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/libdowngraded_unique_indexes.a
Generating build/59f4f0dd/mongo/db/repl/rollback_gen.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/commands/shutdown.h:34,
                 from src/mongo/db/commands/shutdown_d.cpp:36:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/59f4f0dd/mongo/db/read_write_concern_defaults_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/repl/replication_process.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/replication_process.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/read_write_concern_defaults_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_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/shutdown.h:34,
                 from src/mongo/db/commands/shutdown_d.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/db/read_write_concern_defaults_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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: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/shutdown.h:34,
                 from src/mongo/db/commands/shutdown_d.cpp:36:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/db/commands/list_databases_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/commands/list_databases_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/commands/list_databases_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/commands/list_databases_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/curop.h:35,
                 from src/mongo/db/s/move_timing_helper.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/move_timing_helper.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/s/move_timing_helper.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/s/move_timing_helper.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/replication_process.cpp:42:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/views/resolved_view.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/views/resolved_view.cpp
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/replication_process.cpp:42:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
/usr/pkg/bin/python3.12 site_scons/site_tools/jstoh.py build/59f4f0dd/mongo/scripting/mozjs/mongohelpers_js.cpp src/mongo/scripting/mozjs/mongohelpers.js
c++ -o build/59f4f0dd/mongo/scripting/mozjs/mongohelpers_js.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/scripting/mozjs/mongohelpers_js.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/repl/storage_interface.h:40,
                 from src/mongo/db/repl/replication_process.cpp:42:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/replication_process.cpp:42:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/views/resolved_view.h:37,
                 from src/mongo/db/views/resolved_view.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/transport/libservice_entry_point.a build/59f4f0dd/mongo/transport/service_entry_point_impl.o build/59f4f0dd/mongo/transport/service_state_machine.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/transport/libservice_entry_point.a
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint16.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint16.c
c++ -o build/59f4f0dd/mongo/db/query/plan_enumerator.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/plan_enumerator.cpp
c++ -o build/59f4f0dd/mongo/util/safe_num.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/safe_num.cpp
c++ -o build/59f4f0dd/mongo/db/repl/topology_coordinator.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/topology_coordinator.cpp
c++ -o build/59f4f0dd/mongo/db/repl/heartbeat_response_action.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/heartbeat_response_action.cpp
ar rcsTD build/59f4f0dd/mongo/db/views/libresolved_view.a build/59f4f0dd/mongo/db/views/resolved_view.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/views/libresolved_view.a
c++ -o build/59f4f0dd/mongo/db/repl/replication_info.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/replication_info.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/logv2/log_domain_global.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/logv2/log_domain_global.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops.c
c++ -o build/59f4f0dd/mongo/db/index/sort_key_generator.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/index/sort_key_generator.cpp
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops.c: In function '__dpml_bid_unpack_x_or_y__':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops.c:464:51: warning: unused variable 'tmp_ptr' [-Wunused-variable]
  464 |     _X_FLOAT  * packed_value, * packed_argument, *tmp_ptr;
      |                                                   ^~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops.c:464:17: warning: unused variable 'packed_value' [-Wunused-variable]
  464 |     _X_FLOAT  * packed_value, * packed_argument, *tmp_ptr;
      |                 ^~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops.c:463:22: warning: unused variable 'exponent' [-Wunused-variable]
  463 |     UX_EXPONENT_TYPE exponent;
      |                      ^~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops.c: In function '__dpml_bid_pack__':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops.c:759:9: warning: unused variable 'error_val_ptr' [-Wunused-variable]
  759 |       * error_val_ptr;
      |         ^~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops.c:756:16: warning: unused variable 'x_ptr' [-Wunused-variable]
  756 |     _X_FLOAT * x_ptr;
      |                ^~~~~
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_project.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_project.cpp
c++ -o build/59f4f0dd/mongo/db/s/unset_sharding_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/unset_sharding_command.cpp
gcc -o build/59f4f0dd/third_party/wiredtiger/src/os_posix/os_path.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/os_posix/os_path.c
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_enumerator.h:35,
                 from src/mongo/db/query/plan_enumerator.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_enumerator.h:35,
                 from src/mongo/db/query/plan_enumerator.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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_enumerator.h:35,
                 from src/mongo/db/query/plan_enumerator.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_enumerator.h:35,
                 from src/mongo/db/query/plan_enumerator.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/exec/projection_executor_utils.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/projection_executor_utils.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/auth/sasl_mechanism_registry.h:38,
                 from src/mongo/db/repl/replication_info.cpp:40:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
In file included from src/mongo/db/pipeline/expression_context.h:44,
                 from src/mongo/db/pipeline/document_path_support.h:38,
                 from src/mongo/db/query/sort_pattern.h:34,
                 from src/mongo/db/index/sort_key_generator.h:37,
                 from src/mongo/db/index/sort_key_generator.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/auth/sasl_mechanism_registry.h:38,
                 from src/mongo/db/repl/replication_info.cpp:40:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_single_document_transformation.h:34,
                 from src/mongo/db/pipeline/document_source_project.h:32,
                 from src/mongo/db/pipeline/document_source_project.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/auth/sasl_mechanism_registry.h:38,
                 from src/mongo/db/repl/replication_info.cpp:40:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/auth/sasl_mechanism_registry.h:38,
                 from src/mongo/db/repl/replication_info.cpp:40:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/s/unset_sharding_command.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
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/projection_executor_utils.cpp:30:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/document_source_single_document_transformation.h:34,
                 from src/mongo/db/pipeline/document_source_project.h:32,
                 from src/mongo/db/pipeline/document_source_project.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_single_document_transformation.h:34,
                 from src/mongo/db/pipeline/document_source_project.h:32,
                 from src/mongo/db/pipeline/document_source_project.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/unset_sharding_command.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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_single_document_transformation.h:34,
                 from src/mongo/db/pipeline/document_source_project.h:32,
                 from src/mongo/db/pipeline/document_source_project.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_executor_utils.cpp:30:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
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/unset_sharding_command.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/unset_sharding_command.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_executor_utils.cpp:30:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_executor_utils.cpp:30:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/util/options_parser/startup_options.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/options_parser/startup_options.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log1p.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log1p.c
c++ -o build/59f4f0dd/mongo/db/time_proof_service.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/time_proof_service.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/index/skipped_record_tracker.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/index/skipped_record_tracker.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_check_invalidate.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_check_invalidate.cpp
c++ -o build/59f4f0dd/mongo/db/pipeline/process_interface/replica_set_node_process_interface.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/process_interface/replica_set_node_process_interface.cpp
c++ -o build/59f4f0dd/mongo/db/pipeline/process_interface/common_mongod_process_interface.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/process_interface/common_mongod_process_interface.cpp
Generating build/59f4f0dd/mongo/client/replica_set_monitor_server_parameters_gen.cpp
c++ -o build/59f4f0dd/mongo/logger/logger.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/logger/logger.cpp
c++ -o build/59f4f0dd/mongo/client/replica_set_monitor_server_parameters.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/replica_set_monitor_server_parameters.cpp
ar rcsTD build/59f4f0dd/mongo/db/repl/libreplication_info.a build/59f4f0dd/mongo/db/repl/replication_info.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libreplication_info.a
c++ -o build/59f4f0dd/mongo/db/index_names.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/index_names.cpp
c++ -o build/59f4f0dd/mongo/util/net/hostname_canonicalization.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/net/hostname_canonicalization.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/index/skipped_record_tracker.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/index/skipped_record_tracker.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/catalog/validate_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/catalog/validate_gen.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/index/skipped_record_tracker.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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_change_stream.h:34,
                 from src/mongo/db/pipeline/document_source_check_invalidate.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/index/skipped_record_tracker.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/repl/libtopology_coordinator.a build/59f4f0dd/mongo/db/repl/heartbeat_response_action.o build/59f4f0dd/mongo/db/repl/topology_coordinator.o build/59f4f0dd/mongo/db/repl/topology_coordinator_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libtopology_coordinator.a
c++ -o build/59f4f0dd/mongo/db/keys_collection_client_direct.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/keys_collection_client_direct.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_change_stream.h:34,
                 from src/mongo/db/pipeline/document_source_check_invalidate.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cbrt.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cbrt.c
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_change_stream.h:34,
                 from src/mongo/db/pipeline/document_source_check_invalidate.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/s/balancer/balancer_policy.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/balancer/balancer_policy.cpp
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_change_stream.h:34,
                 from src/mongo/db/pipeline/document_source_check_invalidate.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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:37,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/common_mongod_process_interface.h:37,
                 from src/mongo/db/pipeline/process_interface/common_mongod_process_interface.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/common_mongod_process_interface.h:37,
                 from src/mongo/db/pipeline/process_interface/common_mongod_process_interface.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/common_mongod_process_interface.h:37,
                 from src/mongo/db/pipeline/process_interface/common_mongod_process_interface.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/common_mongod_process_interface.h:37,
                 from src/mongo/db/pipeline/process_interface/common_mongod_process_interface.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:37,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/replica_set_node_process_interface.h:33,
                 from src/mongo/db/pipeline/process_interface/replica_set_node_process_interface.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/replica_set_node_process_interface.h:33,
                 from src/mongo/db/pipeline/process_interface/replica_set_node_process_interface.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/replica_set_node_process_interface.h:33,
                 from src/mongo/db/pipeline/process_interface/replica_set_node_process_interface.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/replica_set_node_process_interface.h:33,
                 from src/mongo/db/pipeline/process_interface/replica_set_node_process_interface.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/catalog/validate_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/auth/auth_options_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/auth/auth_options_gen.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/59f4f0dd/mongo/db/catalog/validate_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/catalog/validate_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/catalog/validate_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/logger/message_event_utf8_encoder.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/logger/message_event_utf8_encoder.cpp
ar rcsTD build/59f4f0dd/mongo/db/libkeys_collection_client_direct.a build/59f4f0dd/mongo/db/keys_collection_client_direct.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libkeys_collection_client_direct.a
c++ -o build/59f4f0dd/mongo/db/stats/operation_latency_histogram.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/stats/operation_latency_histogram.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
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/59f4f0dd/mongo/db/auth/auth_options_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/stats/top.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/stats/top.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/59f4f0dd/mongo/db/auth/auth_options_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/index/libskipped_record_tracker.a build/59f4f0dd/mongo/db/index/skipped_record_tracker.o
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/index/libskipped_record_tracker.a
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/auth/auth_options_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Generating build/59f4f0dd/mongo/db/commands/set_index_commit_quorum_gen.cpp
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/auth/auth_options_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/commands/set_index_commit_quorum_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/commands/set_index_commit_quorum_gen.cpp
In file included from src/mongo/db/matcher/expression_parser.h:39,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/common_mongod_process_interface.h:37,
                 from src/mongo/db/pipeline/process_interface/common_mongod_process_interface.cpp:34:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/rpc/metadata/impersonated_user_metadata_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/rpc/metadata/impersonated_user_metadata_gen.cpp
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/program_options/src/utf8_codecvt_facet.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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/boost-1.70.0 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/program_options/src/utf8_codecvt_facet.cpp
In file included from src/mongo/db/matcher/expression_parser.h:39,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/replica_set_node_process_interface.h:33,
                 from src/mongo/db/pipeline/process_interface/replica_set_node_process_interface.cpp:32:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/third_party/s2/strings/split.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -Isrc/third_party/s2 -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/third_party/s2/strings/split.cc
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/stats/operation_latency_histogram.h:33,
                 from src/mongo/db/stats/operation_latency_histogram.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/stats/operation_latency_histogram.h:33,
                 from src/mongo/db/stats/operation_latency_histogram.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/stats/operation_latency_histogram.h:33,
                 from src/mongo/db/stats/operation_latency_histogram.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/stats/operation_latency_histogram.h:33,
                 from src/mongo/db/stats/operation_latency_histogram.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_index_stats.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_index_stats.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_asin.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_asin.c
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/59f4f0dd/mongo/db/commands/set_index_commit_quorum_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/spirit_encoding.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/log/src/spirit_encoding.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/stats/top.h:38,
                 from src/mongo/db/stats/top.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/pipeline/process_interface/libmongod_process_interfaces.a build/59f4f0dd/mongo/db/pipeline/process_interface/common_mongod_process_interface.o build/59f4f0dd/mongo/db/pipeline/process_interface/non_shardsvr_process_interface.o build/59f4f0dd/mongo/db/pipeline/process_interface/replica_set_node_process_interface.o
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/59f4f0dd/mongo/rpc/metadata/impersonated_user_metadata_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/pipeline/process_interface/libmongod_process_interfaces.a
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atan2.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atan2.c
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atan2.c: In function '__bid128_atan2':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atan2.c:49:38: warning: unused variable 'sign_z' [-Wunused-variable]
   49 | BID_UINT64  valid_y, sign_x, sign_y, sign_z;
      |                                      ^~~~~~
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_add.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_add.c
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/59f4f0dd/mongo/db/commands/set_index_commit_quorum_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/auth/libauth_options.a build/59f4f0dd/mongo/db/auth/auth_options_gen.o
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/auth/libauth_options.a
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595: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/59f4f0dd/mongo/rpc/metadata/impersonated_user_metadata_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Generating build/59f4f0dd/mongo/s/request_types/flush_database_cache_updates_gen.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/59f4f0dd/mongo/db/commands/set_index_commit_quorum_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595: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/59f4f0dd/mongo/db/commands/set_index_commit_quorum_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/rpc/metadata/impersonated_user_metadata_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/rpc/metadata/impersonated_user_metadata_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/s/flush_database_cache_updates_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/flush_database_cache_updates_command.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/stats/top.h:38,
                 from src/mongo/db/stats/top.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/stats/top.h:38,
                 from src/mongo/db/stats/top.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
Generating build/59f4f0dd/mongo/db/server_options_nongeneral_gen.cpp
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/stats/top.h:38,
                 from src/mongo/db/stats/top.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/server_options_nongeneral_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/server_options_nongeneral_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 src/mongo/db/pipeline/document_source.h:45,
                 from src/mongo/db/pipeline/document_source_index_stats.h:33,
                 from src/mongo/db/pipeline/document_source_index_stats.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
Generating build/59f4f0dd/mongo/db/server_options_base_gen.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_index_stats.h:33,
                 from src/mongo/db/pipeline/document_source_index_stats.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/server_options_base_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/server_options_base_gen.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_index_stats.h:33,
                 from src/mongo/db/pipeline/document_source_index_stats.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_index_stats.h:33,
                 from src/mongo/db/pipeline/document_source_index_stats.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Generating build/59f4f0dd/mongo/db/server_options_general_gen.cpp
c++ -o build/59f4f0dd/mongo/db/server_options_base.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/server_options_base.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/s/flush_database_cache_updates_command.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_raii.h:33,
                 from src/mongo/db/s/flush_database_cache_updates_command.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/server_options_general_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/server_options_general_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 build/59f4f0dd/mongo/db/server_options_nongeneral_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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_raii.h:33,
                 from src/mongo/db/s/flush_database_cache_updates_command.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/s/flush_database_cache_updates_command.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/commands/libset_index_commit_quorum_idl.a build/59f4f0dd/mongo/db/commands/set_index_commit_quorum_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/commands/libset_index_commit_quorum_idl.a
Generating build/59f4f0dd/mongo/db/cluster_auth_mode_option_gen.cpp
c++ -o build/59f4f0dd/mongo/db/cluster_auth_mode_option_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/cluster_auth_mode_option_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 build/59f4f0dd/mongo/db/server_options_nongeneral_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/server_options_nongeneral_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/server_options_nongeneral_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/stats/libtop.a build/59f4f0dd/mongo/db/stats/top.o build/59f4f0dd/mongo/db/stats/operation_latency_histogram.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/stats/libtop.a
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/59f4f0dd/mongo/db/server_options_base_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
Generating build/59f4f0dd/mongo/db/keyfile_option_gen.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_fegetexceptflag.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_fegetexceptflag.c
c++ -o build/59f4f0dd/mongo/db/keyfile_option_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/keyfile_option_gen.cpp
c++ -o build/59f4f0dd/mongo/client/authenticate.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/authenticate.cpp
c++ -o build/59f4f0dd/mongo/db/storage/kv/kv_prefix.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/kv/kv_prefix.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/59f4f0dd/mongo/db/server_options_base_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/server_options_base_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/server_options_base_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/db/server_options_general_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/storage/kv/libkv_prefix.a build/59f4f0dd/mongo/db/storage/kv/kv_prefix.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/kv/libkv_prefix.a
c++ -o build/59f4f0dd/mongo/db/query/projection_ast_util.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/projection_ast_util.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/cluster_auth_mode_option_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/server_options_general_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/client/authenticate.cpp: In function 'mongo::StatusWith<std::__cxx11::basic_string<char> > mongo::auth::{anonymous}::extractDBField(const mongo::BSONObj&)':
src/mongo/client/authenticate.cpp:78:21: warning: redundant move in return statement [-Wredundant-move]
   78 |     return std::move(db);
      |            ~~~~~~~~~^~~~
src/mongo/client/authenticate.cpp:78:21: 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/59f4f0dd/mongo/db/server_options_general_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/server_options_general_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from build/59f4f0dd/mongo/db/cluster_auth_mode_option_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
gcc -o build/59f4f0dd/third_party/kms-message/src/kms_kv_list.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -DKMS_MSG_STATIC -DNDEBUG -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 -DKMS_MSG_STATIC -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -Isrc/third_party/kms-message/src -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/kms-message/src/kms_kv_list.c
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/cluster_auth_mode_option_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/cluster_auth_mode_option_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/db/keyfile_option_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/exec/stagedebug_cmd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/stagedebug_cmd.cpp
gcc -o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_curnext.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/btree/bt_curnext.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/cursor/cur_json.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/cursor/cur_json.c
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/59f4f0dd/mongo/db/keyfile_option_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/keyfile_option_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/keyfile_option_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/s/migration_coordinator_document_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/s/migration_coordinator_document_gen.cpp
c++ -o build/59f4f0dd/mongo/db/repl/speculative_majority_read_info.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/speculative_majority_read_info.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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:37,
                 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_ast_util.h:32,
                 from src/mongo/db/query/projection_ast_util.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_ast_util.h:32,
                 from src/mongo/db/query/projection_ast_util.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_ast_util.h:32,
                 from src/mongo/db/query/projection_ast_util.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/client/libauthentication.a build/59f4f0dd/mongo/client/authenticate.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/client/libauthentication.a
c++ -o build/59f4f0dd/mongo/bson/bson_depth.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/bson/bson_depth.cpp
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/copyable_match_expression.h:32,
                 from src/mongo/db/query/projection_ast.h:33,
                 from src/mongo/db/query/projection_ast_util.h:32,
                 from src/mongo/db/query/projection_ast_util.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/third_party/s2/s1interval.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DDEBUG_MODE=false -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/third_party/s2/s1interval.cc
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
gcc -o build/59f4f0dd/third_party/wiredtiger/src/conn/conn_cache_pool.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/conn/conn_cache_pool.c
c++ -o build/59f4f0dd/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_init.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_init.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
gcc -o build/59f4f0dd/third_party/wiredtiger/src/session/session_api.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/session/session_api.c
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/field_ref.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/field_ref.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/59f4f0dd/mongo/db/s/migration_coordinator_document_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/exec/stagedebug_cmd.cpp:40:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/exec/stagedebug_cmd.cpp:40:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/s/migration_coordinator_document_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/s/migration_coordinator_document_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/s/migration_coordinator_document_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/libserver_options_base.a build/59f4f0dd/mongo/db/server_options_base.o build/59f4f0dd/mongo/db/cluster_auth_mode_option_gen.o build/59f4f0dd/mongo/db/keyfile_option_gen.o build/59f4f0dd/mongo/db/server_options_base_gen.o build/59f4f0dd/mongo/db/server_options_general_gen.o build/59f4f0dd/mongo/db/server_options_nongeneral_gen.o
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_ast_util.h:32,
                 from src/mongo/db/query/projection_ast_util.cpp:32:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libserver_options_base.a
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/service_liaison.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/service_liaison.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/database.h:38,
                 from src/mongo/db/exec/stagedebug_cmd.cpp:40:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/exec/stagedebug_cmd.cpp:40:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/write_concern.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/write_concern.cpp
c++ -o build/59f4f0dd/mongo/s/query/cluster_aggregation_planner.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/query/cluster_aggregation_planner.cpp
ar rcsTD build/59f4f0dd/mongo/db/repl/libspeculative_majority_read_info.a build/59f4f0dd/mongo/db/repl/speculative_majority_read_info.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libspeculative_majority_read_info.a
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_sqrt.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_sqrt.c
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_lookup_change_pre_image.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_lookup_change_pre_image.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/storage/durable_catalog_impl.h:37,
                 from src/mongo/db/storage/durable_catalog_feature_tracker.h:36,
                 from src/mongo/db/storage/storage_engine_impl.h:42,
                 from src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_init.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/repl/vote_requester.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/vote_requester.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/storage/durable_catalog_impl.h:37,
                 from src/mongo/db/storage/durable_catalog_feature_tracker.h:36,
                 from src/mongo/db/storage/storage_engine_impl.h:42,
                 from src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_init.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/storage/durable_catalog_impl.h:37,
                 from src/mongo/db/storage/durable_catalog_feature_tracker.h:36,
                 from src/mongo/db/storage/storage_engine_impl.h:42,
                 from src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_init.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/storage/durable_catalog_impl.h:37,
                 from src/mongo/db/storage/durable_catalog_feature_tracker.h:36,
                 from src/mongo/db/storage/storage_engine_impl.h:42,
                 from src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_init.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/libservice_liaison.a build/59f4f0dd/mongo/db/service_liaison.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libservice_liaison.a
gcc -o build/59f4f0dd/third_party/wiredtiger/src/cursor/cur_dump.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/cursor/cur_dump.c
c++ -o build/59f4f0dd/mongo/base/initializer_dependency_graph.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/base/initializer_dependency_graph.cpp
In file included from src/mongo/db/matcher/expression_parser.h:37,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/s/query/cluster_aggregation_planner.h:34,
                 from src/mongo/s/query/cluster_aggregation_planner.cpp:33:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/s/query/cluster_aggregation_planner.h:34,
                 from src/mongo/s/query/cluster_aggregation_planner.cpp:33:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/pipeline/pipeline.h:40,
                 from src/mongo/s/query/cluster_aggregation_planner.h:34,
                 from src/mongo/s/query/cluster_aggregation_planner.cpp:33:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/client/async_client.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/async_client.cpp
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/pipeline/pipeline.h:40,
                 from src/mongo/s/query/cluster_aggregation_planner.h:34,
                 from src/mongo/s/query/cluster_aggregation_planner.cpp:33:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/write_concern.cpp:44:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/write_concern.cpp:44:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/repl/storage_interface.h:40,
                 from src/mongo/db/write_concern.cpp:44:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/write_concern.cpp:44:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/pipeline/document_source.h:45,
                 from src/mongo/db/pipeline/document_source_lookup_change_pre_image.h:32,
                 from src/mongo/db/pipeline/document_source_lookup_change_pre_image.cpp:35:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/pipeline/document_source.h:45,
                 from src/mongo/db/pipeline/document_source_lookup_change_pre_image.h:32,
                 from src/mongo/db/pipeline/document_source_lookup_change_pre_image.cpp:35:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_change_pre_image.h:32,
                 from src/mongo/db/pipeline/document_source_lookup_change_pre_image.cpp:35:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_change_pre_image.h:32,
                 from src/mongo/db/pipeline/document_source_lookup_change_pre_image.cpp:35:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/third_party/kms-message/src/kms_gcp_request.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -DKMS_MSG_STATIC -DNDEBUG -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 -DKMS_MSG_STATIC -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -Isrc/third_party/kms-message/src -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/kms-message/src/kms_gcp_request.c
Generating build/59f4f0dd/mongo/db/commands/feature_compatibility_version_gen.cpp
ar rcsTD build/59f4f0dd/mongo/db/exec/libstagedebug_cmd.a build/59f4f0dd/mongo/db/exec/stagedebug_cmd.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/exec/libstagedebug_cmd.a
c++ -o build/59f4f0dd/mongo/db/commands/killcursors_cmd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/killcursors_cmd.cpp
ar rcsTD build/59f4f0dd/mongo/db/storage/ephemeral_for_test/libstorage_ephemeral_for_test.a build/59f4f0dd/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_init.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/ephemeral_for_test/libstorage_ephemeral_for_test.a
c++ -o build/59f4f0dd/mongo/db/commands/feature_compatibility_version.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/feature_compatibility_version.cpp
c++ -o build/59f4f0dd/mongo/db/commands/feature_compatibility_version_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/commands/feature_compatibility_version_gen.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_acosh.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_acosh.c
c++ -o build/59f4f0dd/mongo/rpc/metadata/impersonated_user_metadata.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/rpc/metadata/impersonated_user_metadata.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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:39,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/s/query/cluster_aggregation_planner.h:34,
                 from src/mongo/s/query/cluster_aggregation_planner.cpp:33:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/exec/distinct_scan.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/distinct_scan.cpp
c++ -o build/59f4f0dd/mongo/db/s/shard_key_util.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/shard_key_util.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/59f4f0dd/mongo/db/commands/feature_compatibility_version_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/commands/feature_compatibility_version.h:35,
                 from src/mongo/db/commands/feature_compatibility_version.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/commands/feature_compatibility_version.h:35,
                 from src/mongo/db/commands/feature_compatibility_version.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/commands/feature_compatibility_version_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574: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/commands/feature_compatibility_version.h:35,
                 from src/mongo/db/commands/feature_compatibility_version.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from build/59f4f0dd/mongo/db/commands/feature_compatibility_version_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_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/commands/feature_compatibility_version.h:35,
                 from src/mongo/db/commands/feature_compatibility_version.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/commands/feature_compatibility_version_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int16.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int16.c
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/killcursors_cmd.cpp:33:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/util/icu.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/icu.cpp
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/killcursors_cmd.cpp:33:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/client/native_sasl_client_session.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/native_sasl_client_session.cpp
ar rcsTD build/59f4f0dd/mongo/rpc/libmetadata_impersonated_user.a build/59f4f0dd/mongo/rpc/metadata/impersonated_user_metadata.o build/59f4f0dd/mongo/rpc/metadata/impersonated_user_metadata_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/rpc/libmetadata_impersonated_user.a
Generating build/59f4f0dd/mongo/db/pipeline/document_source_merge_gen.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/commands/killcursors_cmd.cpp:33:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
Generating build/59f4f0dd/mongo/db/pipeline/document_source_merge_modes_gen.cpp
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/killcursors_cmd.cpp:33:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/requires_index_stage.h:32,
                 from src/mongo/db/exec/distinct_scan.h:33,
                 from src/mongo/db/exec/distinct_scan.cpp:30:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_merge_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/pipeline/document_source_merge_gen.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/requires_index_stage.h:32,
                 from src/mongo/db/exec/distinct_scan.h:33,
                 from src/mongo/db/exec/distinct_scan.cpp:30:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/requires_index_stage.h:32,
                 from src/mongo/db/exec/distinct_scan.h:33,
                 from src/mongo/db/exec/distinct_scan.cpp:30:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/requires_index_stage.h:32,
                 from src/mongo/db/exec/distinct_scan.h:33,
                 from src/mongo/db/exec/distinct_scan.cpp:30:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/catalog/catalog_control.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/catalog_control.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/s/cluster_commands_helpers.h:39,
                 from src/mongo/db/s/shard_key_util.cpp:42:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/s/cluster_commands_helpers.h:39,
                 from src/mongo/db/s/shard_key_util.cpp:42:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/cluster_commands_helpers.h:39,
                 from src/mongo/db/s/shard_key_util.cpp:42:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/s/cluster_commands_helpers.h:39,
                 from src/mongo/db/s/shard_key_util.cpp:42:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/commands/server_status.h:32,
                 from src/mongo/client/native_sasl_client_session.cpp:44:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
gcc -o build/59f4f0dd/third_party/wiredtiger/src/block/block_vrfy.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/block/block_vrfy.c
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/client/native_sasl_client_session.cpp:44:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/client/native_sasl_client_session.cpp:44:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/server_status.h:32,
                 from src/mongo/client/native_sasl_client_session.cpp:44:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/db/pipeline/document_source_merge_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/keys_collection_client_sharded.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/keys_collection_client_sharded.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/59f4f0dd/mongo/db/pipeline/document_source_merge_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/pipeline/document_source_merge_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/pipeline/document_source_merge_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/commands/libmongod_fcv.a build/59f4f0dd/mongo/db/commands/feature_compatibility_version.o build/59f4f0dd/mongo/db/commands/feature_compatibility_version_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/commands/libmongod_fcv.a
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_frexp.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_frexp.c
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/util/concurrency/ticketholder.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/concurrency/ticketholder.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/catalog_control.cpp:39:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/catalog_control.cpp:39:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/catalog_control.cpp:39:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/catalog_control.cpp:39:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/commands/feature_compatibility_version_parser.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/feature_compatibility_version_parser.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Generating build/59f4f0dd/mongo/db/db_raii_gen.cpp
c++ -o build/59f4f0dd/mongo/util/executor_stats.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/executor_stats.cpp
c++ -o build/59f4f0dd/third_party/s2/s2region.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DDEBUG_MODE=false -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/third_party/s2/s2region.cc
c++ -o build/59f4f0dd/mongo/db/db_raii_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/db_raii_gen.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_cbrt.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_cbrt.c
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_cbrt.c: In function 'bid_f128_cbrt':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_cbrt.c:106:33: warning: unused variable 'tmp_digit' [-Wunused-variable]
  106 |     UX_FRACTION_DIGIT_TYPE msd, tmp_digit;
      |                                 ^~~~~~~~~
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/program_options/src/value_semantic.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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/boost-1.70.0 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/program_options/src/value_semantic.cpp
gcc -o build/59f4f0dd/third_party/wiredtiger/src/tiered/tiered_work.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/tiered/tiered_work.c
c++ -o build/59f4f0dd/mongo/db/pipeline/process_interface/common_process_interface.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/process_interface/common_process_interface.cpp
Generating build/59f4f0dd/mongo/db/catalog/index_build_entry_gen.cpp
ar rcsTD build/59f4f0dd/mongo/util/concurrency/libticketholder.a build/59f4f0dd/mongo/util/concurrency/ticketholder.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/concurrency/libticketholder.a
c++ -o build/59f4f0dd/mongo/db/exec/document_value/value_comparator.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/document_value/value_comparator.cpp
gcc -o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_curprev.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/btree/bt_curprev.c
c++ -o build/59f4f0dd/mongo/db/catalog/index_build_entry_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/catalog/index_build_entry_gen.cpp
Generating build/59f4f0dd/mongo/db/commands/profile_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/commands/dbcommands_d.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/dbcommands_d.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/59f4f0dd/mongo/db/db_raii_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/util/libexecutor_stats.a build/59f4f0dd/mongo/util/executor_stats.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/libexecutor_stats.a
c++ -o build/59f4f0dd/mongo/platform/stack_locator_netbsd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/platform/stack_locator_netbsd.cpp
Generating build/59f4f0dd/mongo/executor/network_interface_tl_gen.cpp
In file included from src/mongo/db/pipeline/expression_context.h:44,
                 from src/mongo/db/pipeline/process_interface/common_process_interface.h:35,
                 from src/mongo/db/pipeline/process_interface/common_process_interface.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/db_raii_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/executor/network_interface_tl_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/executor/network_interface_tl_gen.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/util/file.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/file.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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from build/59f4f0dd/mongo/db/db_raii_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/db_raii_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/program_options/src/split.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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/boost-1.70.0 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/program_options/src/split.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/pipeline/process_interface/common_process_interface.cpp:41:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/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/59f4f0dd/mongo/db/catalog/index_build_entry_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/pipeline/process_interface/common_process_interface.cpp:41:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/pipeline/process_interface/common_process_interface.cpp:41:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/catalog/libcatalog_control.a build/59f4f0dd/mongo/db/catalog/catalog_control.o
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/59f4f0dd/mongo/db/catalog/index_build_entry_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/catalog/libcatalog_control.a
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/program_options/src/winmain.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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/boost-1.70.0 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/program_options/src/winmain.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/catalog/index_build_entry_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/catalog/index_build_entry_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/executor/network_interface_tl_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/program_options/src/parsers.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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/boost-1.70.0 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/program_options/src/parsers.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/59f4f0dd/mongo/executor/network_interface_tl_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/program_options/src/cmdline.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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/boost-1.70.0 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/program_options/src/cmdline.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/program_options/src/variables_map.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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/boost-1.70.0 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/program_options/src/variables_map.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/executor/network_interface_tl_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/executor/network_interface_tl_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/commands/dbcommands_d.cpp:50:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/commands/dbcommands_d.cpp:50:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/program_options/src/config_file.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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/boost-1.70.0 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/program_options/src/config_file.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/commands/dbcommands_d.cpp:50:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/dbcommands_d.cpp:50:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/program_options/src/convert.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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/boost-1.70.0 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/program_options/src/convert.cpp
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/program_options/src/positional_options.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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/boost-1.70.0 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/program_options/src/positional_options.cpp
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/program_options/src/options_description.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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/boost-1.70.0 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/program_options/src/options_description.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/update/update_object_node.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/update/update_object_node.cpp
c++ -o build/59f4f0dd/mongo/db/commands/oplog_application_checks.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/oplog_application_checks.cpp
c++ -o build/59f4f0dd/mongo/db/ftdc/block_compressor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/ftdc/block_compressor.cpp
gcc -o build/59f4f0dd/third_party/wiredtiger/src/conn/api_calc_modify.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/conn/api_calc_modify.c
c++ -o build/59f4f0dd/mongo/db/query/datetime/init_timezone_data.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/datetime/init_timezone_data.cpp
c++ -o build/59f4f0dd/mongo/s/query/cluster_cursor_manager.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/query/cluster_cursor_manager.cpp
ar rcsTD build/59f4f0dd/mongo/db/pipeline/process_interface/libcommon_process_interface.a build/59f4f0dd/mongo/db/pipeline/process_interface/common_process_interface.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/pipeline/process_interface/libcommon_process_interface.a
c++ -o build/59f4f0dd/mongo/db/session_catalog_mongod.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/session_catalog_mongod.cpp
gcc -o build/59f4f0dd/third_party/wiredtiger/src/config/config_ext.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/config/config_ext.c
Generating build/59f4f0dd/mongo/s/request_types/set_allow_migrations_gen.cpp
ar rcsTD build/59f4f0dd/third_party/boost-1.70.0/libboost_program_options.a build/59f4f0dd/third_party/boost-1.70.0/libs/program_options/src/cmdline.o build/59f4f0dd/third_party/boost-1.70.0/libs/program_options/src/config_file.o build/59f4f0dd/third_party/boost-1.70.0/libs/program_options/src/convert.o build/59f4f0dd/third_party/boost-1.70.0/libs/program_options/src/options_description.o build/59f4f0dd/third_party/boost-1.70.0/libs/program_options/src/parsers.o build/59f4f0dd/third_party/boost-1.70.0/libs/program_options/src/positional_options.o build/59f4f0dd/third_party/boost-1.70.0/libs/program_options/src/split.o build/59f4f0dd/third_party/boost-1.70.0/libs/program_options/src/utf8_codecvt_facet.o build/59f4f0dd/third_party/boost-1.70.0/libs/program_options/src/value_semantic.o build/59f4f0dd/third_party/boost-1.70.0/libs/program_options/src/variables_map.o build/59f4f0dd/third_party/boost-1.70.0/libs/program_options/src/winmain.o
Skipping ranlib for thin archive build/59f4f0dd/third_party/boost-1.70.0/libboost_program_options.a
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/update/update_object_node.h:40,
                 from src/mongo/db/update/update_object_node.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/s/shard_filtering_metadata_refresh.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/shard_filtering_metadata_refresh.cpp
c++ -o build/59f4f0dd/mongo/db/s/shardsvr_set_allow_migrations_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/shardsvr_set_allow_migrations_command.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/bson/util/bson_check.h:34,
                 from src/mongo/db/commands/oplog_application_checks.cpp:31:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/update/update_object_node.cpp: In static member function 'static std::unique_ptr<mongo::UpdateNode> mongo::UpdateObjectNode::createUpdateNodeByMerging(const mongo::UpdateObjectNode&, const mongo::UpdateObjectNode&, mongo::FieldRef*)':
src/mongo/db/update/update_object_node.cpp:355:21: warning: redundant move in return statement [-Wredundant-move]
  355 |     return std::move(mergedNode);
      |            ~~~~~~~~~^~~~~~~~~~~~
src/mongo/db/update/update_object_node.cpp:355: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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from src/mongo/bson/util/bson_check.h:34,
                 from src/mongo/db/commands/oplog_application_checks.cpp:31:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/bson/util/bson_check.h:34,
                 from src/mongo/db/commands/oplog_application_checks.cpp:31:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/bson/util/bson_check.h:34,
                 from src/mongo/db/commands/oplog_application_checks.cpp:31:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/query/datetime/libinit_timezone_data.a build/59f4f0dd/mongo/db/query/datetime/init_timezone_data.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/query/datetime/libinit_timezone_data.a
c++ -o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_num_properties.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/schema/expression_internal_schema_num_properties.cpp
In file included from src/mongo/db/matcher/expression_parser.h:37,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/s/query/cluster_client_cursor_params.h:43,
                 from src/mongo/s/query/cluster_client_cursor.h:38,
                 from src/mongo/s/query/cluster_client_cursor_impl.h:36,
                 from src/mongo/s/query/cluster_cursor_manager.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/s/query/cluster_client_cursor_params.h:43,
                 from src/mongo/s/query/cluster_client_cursor.h:38,
                 from src/mongo/s/query/cluster_client_cursor_impl.h:36,
                 from src/mongo/s/query/cluster_cursor_manager.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/pipeline/pipeline.h:40,
                 from src/mongo/s/query/cluster_client_cursor_params.h:43,
                 from src/mongo/s/query/cluster_client_cursor.h:38,
                 from src/mongo/s/query/cluster_client_cursor_impl.h:36,
                 from src/mongo/s/query/cluster_cursor_manager.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/pipeline/pipeline.h:40,
                 from src/mongo/s/query/cluster_client_cursor_params.h:43,
                 from src/mongo/s/query/cluster_client_cursor.h:38,
                 from src/mongo/s/query/cluster_client_cursor_impl.h:36,
                 from src/mongo/s/query/cluster_cursor_manager.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/session_catalog_mongod.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/storage/encryption_hooks.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/encryption_hooks.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_raii.h:33,
                 from src/mongo/db/session_catalog_mongod.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/s/shardsvr_set_allow_migrations_command.cpp:33:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/s/shard_filtering_metadata_refresh.cpp:36:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/shard_filtering_metadata_refresh.cpp:36:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_decimal_data.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_decimal_data.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/session_catalog_mongod.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/default_attribute_names.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/log/src/default_attribute_names.cpp
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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/session_catalog_mongod.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from src/mongo/db/s/shardsvr_set_allow_migrations_command.cpp:33:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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: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/s/shard_filtering_metadata_refresh.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616: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/s/shard_filtering_metadata_refresh.cpp:36:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/shardsvr_set_allow_migrations_command.cpp:33:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/shardsvr_set_allow_migrations_command.cpp:33:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Generating build/59f4f0dd/mongo/client/sdam/sdam_configuration_parameters_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/s/query/cluster_cursor_manager.cpp: In member function 'mongo::StatusWith<mongo::ClusterClientCursorGuard> mongo::ClusterCursorManager::_detachCursor(mongo::WithLock, mongo::OperationContext*, const mongo::NamespaceString&, mongo::CursorId)':
src/mongo/s/query/cluster_cursor_manager.cpp:786:21: warning: redundant move in return statement [-Wredundant-move]
  786 |     return std::move(cursor);
      |            ~~~~~~~~~^~~~~~~~
src/mongo/s/query/cluster_cursor_manager.cpp:786:21: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/client/sdam/topology_description.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/sdam/topology_description.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cosh.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cosh.c
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cosh.c:45:20: warning: 'BID128_NEGHALF' defined but not used [-Wunused-variable]
   45 | static BID_UINT128 BID128_NEGHALF =
      |                    ^~~~~~~~~~~~~~
c++ -o build/59f4f0dd/mongo/client/streamable_replica_set_monitor_error_handler.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/streamable_replica_set_monitor_error_handler.cpp
c++ -o build/59f4f0dd/mongo/db/exec/change_stream_proxy.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/change_stream_proxy.cpp
ar rcsTD build/59f4f0dd/mongo/db/storage/libencryption_hooks.a build/59f4f0dd/mongo/db/storage/encryption_hooks.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/libencryption_hooks.a
c++ -o build/59f4f0dd/mongo/util/net/ssl_stream.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/net/ssl_stream.cpp
In file included from src/mongo/db/matcher/expression_parser.h:39,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/s/query/cluster_client_cursor_params.h:43,
                 from src/mongo/s/query/cluster_client_cursor.h:38,
                 from src/mongo/s/query/cluster_client_cursor_impl.h:36,
                 from src/mongo/s/query/cluster_cursor_manager.cpp:34:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/exec/pipeline_proxy.h:35,
                 from src/mongo/db/exec/change_stream_proxy.h:32,
                 from src/mongo/db/exec/change_stream_proxy.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
gcc -o build/59f4f0dd/third_party/wiredtiger/src/log/log_auto.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/log/log_auto.c
Generating build/59f4f0dd/mongo/db/repl/dbcheck_gen.cpp
In file included from src/mongo/db/matcher/expression_parser.h:37,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/exec/pipeline_proxy.h:37,
                 from src/mongo/db/exec/change_stream_proxy.h:32,
                 from src/mongo/db/exec/change_stream_proxy.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
Generating build/59f4f0dd/mongo/db/catalog/health_log_gen.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/repl/dbcheck_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/repl/dbcheck_gen.cpp
c++ -o build/59f4f0dd/mongo/db/repl/dbcheck_idl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/dbcheck_idl.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/repl/dbcheck.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/dbcheck.cpp
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/exec/pipeline_proxy.h:37,
                 from src/mongo/db/exec/change_stream_proxy.h:32,
                 from src/mongo/db/exec/change_stream_proxy.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/pipeline/pipeline.h:40,
                 from src/mongo/db/exec/pipeline_proxy.h:37,
                 from src/mongo/db/exec/change_stream_proxy.h:32,
                 from src/mongo/db/exec/change_stream_proxy.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/executor/connection_pool_tl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/executor/connection_pool_tl.cpp
ar rcsTD build/59f4f0dd/mongo/s/query/libcluster_cursor_manager.a build/59f4f0dd/mongo/s/query/cluster_cursor_manager.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/query/libcluster_cursor_manager.a
c++ -o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_cond.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/schema/expression_internal_schema_cond.cpp
c++ -o build/59f4f0dd/mongo/db/process_health/health_monitoring_feature_flag.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/process_health/health_monitoring_feature_flag.cpp
Generating build/59f4f0dd/mongo/db/process_health/health_monitoring_gen.cpp
c++ -o build/59f4f0dd/mongo/db/update/unset_node.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/update/unset_node.cpp
c++ -o build/59f4f0dd/mongo/db/process_health/health_monitoring_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/process_health/health_monitoring_gen.cpp
Generating build/59f4f0dd/mongo/db/pipeline/document_source_list_sessions_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 build/59f4f0dd/mongo/db/repl/dbcheck_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_list_local_sessions.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_list_local_sessions.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/59f4f0dd/mongo/db/repl/dbcheck_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/schema/expression_internal_schema_cond.h:33,
                 from src/mongo/db/matcher/schema/expression_internal_schema_cond.cpp:32:
src/mongo/db/matcher/expression_arity.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::FixedArityMatchExpression<T, nargs>::shallowClone() const [with T = mongo::InternalSchemaCondMatchExpression; long unsigned int nargs = 3]':
src/mongo/db/matcher/expression_arity.h:118:38:   required from here
src/mongo/db/matcher/expression_arity.h:133:31: warning: redundant move in return statement [-Wredundant-move]
  133 |         return std::move(clone);
      |                               ^
src/mongo/db/matcher/expression_arity.h:133:31: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/repl/dbcheck_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/repl/dbcheck_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/update/update_leaf_node.h:32,
                 from src/mongo/db/update/modifier_node.h:39,
                 from src/mongo/db/update/unset_node.h:35,
                 from src/mongo/db/update/unset_node.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/storage/storage_options.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/storage_options.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/59f4f0dd/mongo/db/process_health/health_monitoring_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/repl/dbcheck.cpp:33:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/59f4f0dd/mongo/db/process_health/health_monitoring_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/repl/dbcheck.cpp:33:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/process_health/health_monitoring_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/process_health/health_monitoring_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Generating build/59f4f0dd/mongo/transport/message_compressor_options_server_gen.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/repl/dbcheck.cpp:33:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_exchange.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_exchange.cpp
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/repl/dbcheck.cpp:33:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/transport/message_compressor_options_server_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/transport/message_compressor_options_server_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 src/mongo/db/pipeline/document_source.h:45,
                 from src/mongo/db/pipeline/document_source_list_local_sessions.h:38,
                 from src/mongo/db/pipeline/document_source_list_local_sessions.cpp:35:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/document_source_list_local_sessions.h:38,
                 from src/mongo/db/pipeline/document_source_list_local_sessions.cpp:35:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_list_local_sessions.h:38,
                 from src/mongo/db/pipeline/document_source_list_local_sessions.cpp:35:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_hypot.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_hypot.c
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/third_party/shim_yaml.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/shim_yaml.cpp
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_list_local_sessions.h:38,
                 from src/mongo/db/pipeline/document_source_list_local_sessions.cpp:35:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/third_party/libshim_yaml.a build/59f4f0dd/third_party/shim_yaml.o
Skipping ranlib for thin archive build/59f4f0dd/third_party/libshim_yaml.a
c++ -o build/59f4f0dd/mongo/db/s/migration_source_manager.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/migration_source_manager.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/catalog/drop_indexes.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/drop_indexes.cpp
c++ -o build/59f4f0dd/third_party/shim_stemmer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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/libstemmer_c/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/shim_stemmer.cpp
c++ -o build/59f4f0dd/mongo/bson/timestamp.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/bson/timestamp.cpp
ar rcsTD build/59f4f0dd/mongo/db/process_health/libprocess_health_feature_flag.a build/59f4f0dd/mongo/db/process_health/health_monitoring_gen.o build/59f4f0dd/mongo/db/process_health/health_monitoring_feature_flag.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/process_health/libprocess_health_feature_flag.a
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_current_op.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_current_op.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/pipeline/document_source_exchange.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/pipeline/document_source_exchange.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/pipeline/document_source_exchange.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/pipeline/document_source_exchange.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/transport/message_compressor_options_server_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/commands/test_commands.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/test_commands.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/59f4f0dd/mongo/transport/message_compressor_options_server_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/op_observer.h:35,
                 from src/mongo/db/op_observer_impl.h:32,
                 from src/mongo/db/s/migration_chunk_cloner_source.h:33,
                 from src/mongo/db/s/migration_source_manager.h:35,
                 from src/mongo/db/s/migration_source_manager.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616: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/59f4f0dd/mongo/transport/message_compressor_options_server_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/transport/message_compressor_options_server_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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/op_observer.h:35,
                 from src/mongo/db/op_observer_impl.h:32,
                 from src/mongo/db/s/migration_chunk_cloner_source.h:33,
                 from src/mongo/db/s/migration_source_manager.h:35,
                 from src/mongo/db/s/migration_source_manager.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/catalog/drop_indexes.cpp:39:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/storage/control/journal_flusher.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/control/journal_flusher.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/repl/libdbcheck.a build/59f4f0dd/mongo/db/repl/dbcheck.o build/59f4f0dd/mongo/db/repl/dbcheck_idl.o build/59f4f0dd/mongo/db/repl/dbcheck_gen.o
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libdbcheck.a
c++ -o build/59f4f0dd/mongo/util/str_escape.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/str_escape.cpp
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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/catalog/drop_indexes.cpp:39:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/op_observer.h:35,
                 from src/mongo/db/op_observer_impl.h:32,
                 from src/mongo/db/s/migration_chunk_cloner_source.h:33,
                 from src/mongo/db/s/migration_source_manager.h:35,
                 from src/mongo/db/s/migration_source_manager.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/op_observer.h:35,
                 from src/mongo/db/op_observer_impl.h:32,
                 from src/mongo/db/s/migration_chunk_cloner_source.h:33,
                 from src/mongo/db/s/migration_source_manager.h:35,
                 from src/mongo/db/s/migration_source_manager.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/catalog/drop_indexes.cpp:39:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/catalog/drop_indexes.cpp:39:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/pipeline/document_source.h:45,
                 from src/mongo/db/pipeline/document_source_current_op.h:32,
                 from src/mongo/db/pipeline/document_source_current_op.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
gcc -o build/59f4f0dd/third_party/wiredtiger/src/reconcile/rec_dictionary.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/reconcile/rec_dictionary.c
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/pipeline/document_source.h:45,
                 from src/mongo/db/pipeline/document_source_current_op.h:32,
                 from src/mongo/db/pipeline/document_source_current_op.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/storage/storage_engine_lock_file.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/storage_engine_lock_file.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_current_op.h:32,
                 from src/mongo/db/pipeline/document_source_current_op.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_current_op.h:32,
                 from src/mongo/db/pipeline/document_source_current_op.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/commands/test_commands.cpp:39:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/test_commands.cpp:39:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
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/test_commands.cpp:39:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/test_commands.cpp:39:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/index_builds_coordinator.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/index_builds_coordinator.cpp
ar rcsTD build/59f4f0dd/mongo/db/storage/libjournal_flusher.a build/59f4f0dd/mongo/db/storage/control/journal_flusher.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/libjournal_flusher.a
c++ -o build/59f4f0dd/mongo/db/catalog/index_build_block.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/index_build_block.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/transport/libmessage_compressor_options_server.a build/59f4f0dd/mongo/transport/message_compressor_options_server_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/transport/libmessage_compressor_options_server.a
c++ -o build/59f4f0dd/mongo/transport/message_compressor_metrics.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/transport/message_compressor_metrics.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
gcc -o build/59f4f0dd/third_party/wiredtiger/src/session/session_dhandle.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/session/session_dhandle.c
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/third_party/shim_pcrecpp.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/shim_pcrecpp.cc
ar rcsTD build/59f4f0dd/third_party/libshim_pcrecpp.a build/59f4f0dd/third_party/shim_pcrecpp.o
Skipping ranlib for thin archive build/59f4f0dd/third_party/libshim_pcrecpp.a
gcc -o build/59f4f0dd/third_party/wiredtiger/src/btree/row_key.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/btree/row_key.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_erf.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_erf.c
c++ -o build/59f4f0dd/mongo/db/concurrency/flow_control_ticketholder.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/concurrency/flow_control_ticketholder.cpp
c++ -o build/59f4f0dd/mongo/db/fts/fts_spec.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/libstemmer_c/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/fts/fts_spec.cpp
Generating build/59f4f0dd/mongo/db/storage/two_phase_index_build_knobs_gen.cpp
c++ -o build/59f4f0dd/mongo/db/storage/kv/temporary_kv_record_store.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/kv/temporary_kv_record_store.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/index_builds_coordinator.cpp:36:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/storage/storage_engine_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/storage_engine_impl.cpp
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/index_builds_coordinator.cpp:36:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/index_builds_coordinator.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/index_builds_coordinator.cpp:36:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/index_build_block.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/index/btree_access_method.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/index/btree_access_method.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/index_build_block.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/index_build_block.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/index_build_block.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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:37,
                 from src/mongo/db/fts/fts_spec.cpp:39:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/fts/fts_spec.cpp:39:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/fts/fts_spec.cpp:39:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/fts/fts_spec.cpp:39:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/client/libasync_client.a build/59f4f0dd/mongo/client/async_client.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/client/libasync_client.a
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_sort_by_count.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_sort_by_count.cpp
c++ -o build/59f4f0dd/mongo/db/exec/inclusion_projection_executor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/inclusion_projection_executor.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/storage/durable_catalog_impl.h:37,
                 from src/mongo/db/storage/durable_catalog_feature_tracker.h:36,
                 from src/mongo/db/storage/storage_engine_impl.h:42,
                 from src/mongo/db/storage/storage_engine_impl.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/concurrency/libflow_control_ticketholder.a build/59f4f0dd/mongo/db/concurrency/flow_control_ticketholder.o
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/concurrency/libflow_control_ticketholder.a
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/s/session_catalog_router.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/session_catalog_router.cpp
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/storage/durable_catalog_impl.h:37,
                 from src/mongo/db/storage/durable_catalog_feature_tracker.h:36,
                 from src/mongo/db/storage/storage_engine_impl.h:42,
                 from src/mongo/db/storage/storage_engine_impl.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/executor/hedging_metrics.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/executor/hedging_metrics.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/storage/durable_catalog_impl.h:37,
                 from src/mongo/db/storage/durable_catalog_feature_tracker.h:36,
                 from src/mongo/db/storage/storage_engine_impl.h:42,
                 from src/mongo/db/storage/storage_engine_impl.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/storage/durable_catalog_impl.h:37,
                 from src/mongo/db/storage/durable_catalog_feature_tracker.h:36,
                 from src/mongo/db/storage/storage_engine_impl.h:42,
                 from src/mongo/db/storage/storage_engine_impl.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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:39,
                 from src/mongo/db/fts/fts_spec.cpp:39:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/projection_executor.h:38,
                 from src/mongo/db/exec/inclusion_projection_executor.h:34,
                 from src/mongo/db/exec/inclusion_projection_executor.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/inclusion_projection_executor.h:34,
                 from src/mongo/db/exec/inclusion_projection_executor.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/inclusion_projection_executor.h:34,
                 from src/mongo/db/exec/inclusion_projection_executor.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/inclusion_projection_executor.h:34,
                 from src/mongo/db/exec/inclusion_projection_executor.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/pipeline/document_source.h:45,
                 from src/mongo/db/pipeline/document_source_sort_by_count.h:32,
                 from src/mongo/db/pipeline/document_source_sort_by_count.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_quantize.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_quantize.c
c++ -o build/59f4f0dd/mongo/db/auth/role_graph_builtin_roles.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/role_graph_builtin_roles.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_sort_by_count.h:32,
                 from src/mongo/db/pipeline/document_source_sort_by_count.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_sort_by_count.h:32,
                 from src/mongo/db/pipeline/document_source_sort_by_count.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_sort_by_count.h:32,
                 from src/mongo/db/pipeline/document_source_sort_by_count.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/auth/role_graph.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/role_graph.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/session_catalog_router.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/executor/libhedging_metrics.a build/59f4f0dd/mongo/executor/hedging_metrics.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/executor/libhedging_metrics.a
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/session_catalog_router.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/commands/write_commands/write_commands_common.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/write_commands/write_commands_common.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/session_catalog_router.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/session_catalog_router.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/multi_key_path_tracker.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/multi_key_path_tracker.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/keys_collection_cache.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/keys_collection_cache.cpp
c++ -o build/59f4f0dd/mongo/db/key_generator.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/key_generator.cpp
c++ -o build/59f4f0dd/mongo/db/keys_collection_manager.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/keys_collection_manager.cpp
c++ -o build/59f4f0dd/mongo/db/concurrency/lock_stats.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/concurrency/lock_stats.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/auth/librole_graph.a build/59f4f0dd/mongo/db/auth/role_graph.o build/59f4f0dd/mongo/db/auth/role_graph_builtin_roles.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/auth/librole_graph.a
c++ -o build/59f4f0dd/mongo/db/logical_time.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/logical_time.cpp
c++ -o build/59f4f0dd/mongo/db/geo/shapes.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/geo/shapes.cpp
Generating build/59f4f0dd/mongo/db/pipeline/document_source_internal_apply_oplog_update_gen.cpp
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_internal_apply_oplog_update.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_internal_apply_oplog_update.cpp
c++ -o build/59f4f0dd/mongo/base/system_error.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/base/system_error.cpp
c++ -o build/59f4f0dd/mongo/s/multi_statement_transaction_requests_sender.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/multi_statement_transaction_requests_sender.cpp
ar rcsTD build/59f4f0dd/mongo/db/storage/libstorage_engine_impl.a build/59f4f0dd/mongo/db/storage/storage_engine_impl.o build/59f4f0dd/mongo/db/storage/kv/temporary_kv_record_store.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/libstorage_engine_impl.a
Generating build/59f4f0dd/mongo/db/ttl_gen.cpp
gcc -o build/59f4f0dd/third_party/wiredtiger/src/evict/evict_file.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/evict/evict_file.c
c++ -o build/59f4f0dd/mongo/db/ttl_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/ttl_gen.cpp
Generating build/59f4f0dd/mongo/db/query/hint_gen.cpp
ar rcsTD build/59f4f0dd/mongo/base/libsystem_error.a build/59f4f0dd/mongo/base/system_error.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/base/libsystem_error.a
c++ -o build/59f4f0dd/mongo/util/net/socket_exception.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/net/socket_exception.cpp
c++ -o build/59f4f0dd/mongo/db/query/hint_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/query/hint_gen.cpp
c++ -o build/59f4f0dd/mongo/db/ftdc/varint.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/ftdc/varint.cpp
c++ -o build/59f4f0dd/mongo/db/fts/fts_unicode_tokenizer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/libstemmer_c/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/fts/fts_unicode_tokenizer.cpp
ar rcsTD build/59f4f0dd/mongo/db/libkeys_collection_manager.a build/59f4f0dd/mongo/db/keys_collection_manager_gen.o build/59f4f0dd/mongo/db/keys_collection_manager.o build/59f4f0dd/mongo/db/keys_collection_cache.o build/59f4f0dd/mongo/db/key_generator.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libkeys_collection_manager.a
c++ -o build/59f4f0dd/mongo/watchdog/watchdog.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/watchdog/watchdog.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/pipeline/document_source.h:45,
                 from src/mongo/db/pipeline/document_source_internal_apply_oplog_update.h:32,
                 from src/mongo/db/pipeline/document_source_internal_apply_oplog_update.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/commands/collection_to_capped.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/collection_to_capped.cpp
Generating build/59f4f0dd/mongo/util/net/hostandport_gen.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/multi_statement_transaction_requests_sender.cpp:35:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/util/net/hostandport_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/util/net/hostandport_gen.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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_internal_apply_oplog_update.h:32,
                 from src/mongo/db/pipeline/document_source_internal_apply_oplog_update.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/59f4f0dd/mongo/db/ttl_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/multi_statement_transaction_requests_sender.cpp:35:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_internal_apply_oplog_update.h:32,
                 from src/mongo/db/pipeline/document_source_internal_apply_oplog_update.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_internal_apply_oplog_update.h:32,
                 from src/mongo/db/pipeline/document_source_internal_apply_oplog_update.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/db/query/hint_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/multi_statement_transaction_requests_sender.cpp:35:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/59f4f0dd/mongo/db/ttl_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/multi_statement_transaction_requests_sender.cpp:35:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/scripting/mozjs/proxyscope.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/proxyscope.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/ttl_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/ttl_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from build/59f4f0dd/mongo/db/query/hint_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/query/hint_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/query/hint_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/util/net/hostandport_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/commands/collection_to_capped.cpp:36:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/util/net/hostandport_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/util/net/hostandport_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/util/net/hostandport_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from src/mongo/db/commands/collection_to_capped.cpp:36:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/collection_to_capped.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/collection_to_capped.cpp:36:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/third_party/shim_asio.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/shim_asio.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/third_party/libshim_asio.a build/59f4f0dd/third_party/shim_asio.o
Skipping ranlib for thin archive build/59f4f0dd/third_party/libshim_asio.a
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/filesystem/src/path_traits.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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/boost-1.70.0 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/filesystem/src/path_traits.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
gcc -o build/59f4f0dd/third_party/wiredtiger/src/os_posix/os_map.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/os_posix/os_map.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint8.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint8.c
c++ -o build/59f4f0dd/mongo/client/sdam/topology_state_machine.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/sdam/topology_state_machine.cpp
ar rcsTD build/59f4f0dd/mongo/db/pipeline/libdocument_source_internal_apply_oplog_update.a build/59f4f0dd/mongo/db/pipeline/document_source_internal_apply_oplog_update.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/pipeline/libdocument_source_internal_apply_oplog_update.a
c++ -o build/59f4f0dd/mongo/client/hedging_mode_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/client/hedging_mode_gen.cpp
c++ -o build/59f4f0dd/mongo/client/read_preference_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/client/read_preference_gen.cpp
c++ -o build/59f4f0dd/mongo/client/read_preference.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/read_preference.cpp
c++ -o build/59f4f0dd/mongo/scripting/mozjs/dbref.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/dbref.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_internal_inhibit_optimization.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_internal_inhibit_optimization.cpp
c++ -o build/59f4f0dd/mongo/db/repl/bgsync.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/bgsync.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/client/read_preference_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/client/read_preference_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/util/periodic_runner_factory.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/periodic_runner_factory.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/client/read_preference_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/exec/plan_stage.h:37,
                 from src/mongo/db/query/explain.h:32,
                 from src/mongo/db/commands.h:47,
                 from build/59f4f0dd/mongo/client/hedging_mode_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/client/read_preference_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/pipeline/document_source.h:45,
                 from src/mongo/db/pipeline/document_source_internal_inhibit_optimization.h:32,
                 from src/mongo/db/pipeline/document_source_internal_inhibit_optimization.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
gcc -o build/59f4f0dd/third_party/wiredtiger/src/schema/schema_project.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/schema/schema_project.c
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/59f4f0dd/mongo/client/hedging_mode_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/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_internal_inhibit_optimization.h:32,
                 from src/mongo/db/pipeline/document_source_internal_inhibit_optimization.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/repl/oplog_entry.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/oplog_entry.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_internal_inhibit_optimization.h:32,
                 from src/mongo/db/pipeline/document_source_internal_inhibit_optimization.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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: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/59f4f0dd/mongo/client/hedging_mode_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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_internal_inhibit_optimization.h:32,
                 from src/mongo/db/pipeline/document_source_internal_inhibit_optimization.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/client/hedging_mode_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/s/config_server_client.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/config_server_client.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/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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/scripting/mozjs/countdownlatch.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/countdownlatch.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_asinh.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_asinh.c
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/logv2/log_component.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/logv2/log_component.cpp
ar rcsTD build/59f4f0dd/mongo/util/libperiodic_runner_factory.a build/59f4f0dd/mongo/util/periodic_runner_factory.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/libperiodic_runner_factory.a
c++ -o build/59f4f0dd/mongo/db/storage/durable_catalog_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/durable_catalog_impl.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Generating build/59f4f0dd/mongo/scripting/mozjs/engine_gen.cpp
c++ -o build/59f4f0dd/mongo/scripting/mozjs/engine.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/engine.cpp
c++ -o build/59f4f0dd/mongo/db/query/query_settings.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/query_settings.cpp
c++ -o build/59f4f0dd/mongo/db/pipeline/aggregation.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/aggregation.cpp
ar rcsTD build/59f4f0dd/mongo/db/pipeline/libaggregation.a build/59f4f0dd/mongo/db/pipeline/aggregation.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/pipeline/libaggregation.a
c++ -o build/59f4f0dd/third_party/s2/s2polyline.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DDEBUG_MODE=false -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/third_party/s2/s2polyline.cc
ar rcsTD build/59f4f0dd/mongo/client/libread_preference.a build/59f4f0dd/mongo/client/read_preference.o build/59f4f0dd/mongo/client/hedging_mode_gen.o build/59f4f0dd/mongo/client/read_preference_gen.o
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sinh.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sinh.c
Skipping ranlib for thin archive build/59f4f0dd/mongo/client/libread_preference.a
gcc -o build/59f4f0dd/third_party/libstemmer_c/src_c/stem_UTF_8_turkish.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -fno-strict-overflow -DNDEBUG -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/libstemmer_c/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/libstemmer_c/src_c/stem_UTF_8_turkish.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sinh.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sinh.c
c++ -o build/59f4f0dd/mongo/db/repl/repl_set_commands.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/repl_set_commands.cpp
c++ -o build/59f4f0dd/mongo/db/read_concern.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/read_concern.cpp
c++ -o build/59f4f0dd/mongo/bson/bsonmisc.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/bson/bsonmisc.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log.c
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/storage/durable_catalog_impl.h:37,
                 from src/mongo/db/storage/durable_catalog_impl.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/storage/durable_catalog_impl.h:37,
                 from src/mongo/db/storage/durable_catalog_impl.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
Generating build/59f4f0dd/mongo/db/commands/rename_collection_gen.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/query_settings.h:37,
                 from src/mongo/db/query/query_settings.cpp:30:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/commands/rename_collection_cmd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/rename_collection_cmd.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/storage/durable_catalog_impl.h:37,
                 from src/mongo/db/storage/durable_catalog_impl.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/query_settings.h:37,
                 from src/mongo/db/query/query_settings.cpp:30:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/storage/durable_catalog_impl.h:37,
                 from src/mongo/db/storage/durable_catalog_impl.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/query_settings.h:37,
                 from src/mongo/db/query/query_settings.cpp:30:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/query_settings.h:37,
                 from src/mongo/db/query/query_settings.cpp:30:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/repl/oplog_buffer_collection.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/oplog_buffer_collection.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
gcc -o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_io.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/btree/bt_io.c
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/repl/repl_set_command.h:34,
                 from src/mongo/db/repl/repl_set_commands.cpp:40:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/repl/repl_set_command.h:34,
                 from src/mongo/db/repl/repl_set_commands.cpp:40:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_erf.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_erf.c
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/util/winutil.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/winutil.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/repl/repl_set_command.h:34,
                 from src/mongo/db/repl/repl_set_commands.cpp:40:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/repl/repl_set_command.h:34,
                 from src/mongo/db/repl/repl_set_commands.cpp:40:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/commands/start_session_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/start_session_command.cpp
c++ -o build/59f4f0dd/mongo/s/query/cluster_find.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/query/cluster_find.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atan2.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atan2.c
c++ -o build/59f4f0dd/mongo/db/repl/drop_pending_collection_reaper.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/drop_pending_collection_reaper.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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_buffer_collection.cpp:43:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_buffer_collection.cpp:43:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/commands/rename_collection_cmd.cpp:33:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/matcher/extensions_callback_noop.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/extensions_callback_noop.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_buffer_collection.cpp:43:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/rename_collection_cmd.cpp:33:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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_buffer_collection.cpp:43:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/commands/rename_collection_cmd.cpp:33:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/rename_collection_cmd.cpp:33:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/commands/start_session_command.cpp:39:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/drop_pending_collection_reaper.cpp:41:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/drop_pending_collection_reaper.cpp:41:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/drop_pending_collection_reaper.cpp:41:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/drop_pending_collection_reaper.cpp:41:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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 src/mongo/s/query/cluster_find.h:36,
                 from src/mongo/s/query/cluster_find.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/start_session_command.cpp:39:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616: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/start_session_command.cpp:39:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/start_session_command.cpp:39:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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 src/mongo/s/query/cluster_find.h:36,
                 from src/mongo/s/query/cluster_find.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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 src/mongo/s/query/cluster_find.h:36,
                 from src/mongo/s/query/cluster_find.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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 src/mongo/s/query/cluster_find.h:36,
                 from src/mongo/s/query/cluster_find.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/matcher/extensions_callback_noop.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/matcher/extensions_callback_noop.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/storage/libdurable_catalog_impl.a build/59f4f0dd/mongo/db/storage/durable_catalog_impl.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/libdurable_catalog_impl.a
Generating build/59f4f0dd/mongo/db/commands/generic_gen.cpp
c++ -o build/59f4f0dd/mongo/db/catalog/collection_compact.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/collection_compact.cpp
c++ -o build/59f4f0dd/mongo/db/commands/generic.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/generic.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Generating build/59f4f0dd/mongo/scripting/deadline_monitor_gen.cpp
src/mongo/s/query/cluster_find.cpp: In function 'mongo::StatusWith<std::unique_ptr<mongo::QueryRequest> > mongo::{anonymous}::transformQueryForShards(const mongo::QueryRequest&, bool)':
src/mongo/s/query/cluster_find.cpp:165:21: warning: redundant move in return statement [-Wredundant-move]
  165 |     return std::move(newQR);
      |            ~~~~~~~~~^~~~~~~
src/mongo/s/query/cluster_find.cpp:165:21: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/scripting/deadline_monitor_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/scripting/deadline_monitor_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Generating build/59f4f0dd/mongo/db/repl/image_collection_entry_gen.cpp
c++ -o build/59f4f0dd/mongo/db/ops/write_ops_retryability.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/ops/write_ops_retryability.cpp
c++ -o build/59f4f0dd/mongo/db/commands/map_reduce_agg.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/map_reduce_agg.cpp
c++ -o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_object_match.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/schema/expression_internal_schema_object_match.cpp
c++ -o build/59f4f0dd/mongo/db/commands/server_status_metric.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/server_status_metric.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/generic.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/collection_compact.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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 src/mongo/s/query/cluster_find.h:36,
                 from src/mongo/s/query/cluster_find.cpp:34:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/collection_compact.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/generic.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/generic.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/generic.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/scripting/deadline_monitor_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/catalog/collection_compact.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/collection_compact.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from build/59f4f0dd/mongo/scripting/deadline_monitor_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/s/cannot_implicitly_create_collection_info.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/cannot_implicitly_create_collection_info.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/scripting/deadline_monitor_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/scripting/deadline_monitor_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/schema/expression_internal_schema_object_match.cpp: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaObjectMatchExpression::shallowClone() const':
src/mongo/db/matcher/schema/expression_internal_schema_object_match.cpp:83:21: warning: redundant move in return statement [-Wredundant-move]
   83 |     return std::move(clone);
      |            ~~~~~~~~~^~~~~~~
src/mongo/db/matcher/schema/expression_internal_schema_object_match.cpp:83:21: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/util/net/sock.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/net/sock.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/map_reduce_agg.cpp:41:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_acosh.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_acosh.c
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/map_reduce_agg.cpp:41:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/s/catalog/sharding_catalog_client.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/catalog/sharding_catalog_client.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/map_reduce_agg.cpp:41:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_erfc.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_erfc.c
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/commands/map_reduce_agg.cpp:41:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/third_party/libstemmer_c/src_c/stem_UTF_8_german.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -fno-strict-overflow -DNDEBUG -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/libstemmer_c/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/libstemmer_c/src_c/stem_UTF_8_german.c
c++ -o build/59f4f0dd/mongo/platform/strnlen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/platform/strnlen.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_erfc.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_erfc.c
c++ -o build/59f4f0dd/mongo/executor/remote_command_response.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/executor/remote_command_response.cpp
c++ -o build/59f4f0dd/mongo/executor/remote_command_request.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/executor/remote_command_request.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/index/hash_access_method.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/index/hash_access_method.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_tgamma.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_tgamma.c
c++ -o build/59f4f0dd/mongo/db/s/add_shard_cmd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/add_shard_cmd.cpp
c++ -o build/59f4f0dd/third_party/shim_fmt.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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/fmt/dist/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/third_party/shim_fmt.cpp
c++ -o build/59f4f0dd/mongo/db/s/clone_catalog_data_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/clone_catalog_data_command.cpp
c++ -o build/59f4f0dd/mongo/util/time_support.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/time_support.cpp
c++ -o build/59f4f0dd/mongo/s/query/document_source_merge_cursors.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/query/document_source_merge_cursors.cpp
ar rcsTD build/59f4f0dd/mongo/s/catalog/libsharding_catalog_client.a build/59f4f0dd/mongo/s/catalog/sharding_catalog_client.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/catalog/libsharding_catalog_client.a
gcc -o build/59f4f0dd/third_party/wiredtiger/src/cursor/cur_log.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/cursor/cur_log.c
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/kill_sessions.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/kill_sessions.cpp
ar rcsTD build/59f4f0dd/mongo/executor/libremote_command.a build/59f4f0dd/mongo/executor/remote_command_request.o build/59f4f0dd/mongo/executor/remote_command_response.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/executor/libremote_command.a
c++ -o build/59f4f0dd/mongo/transport/message_compressor_snappy.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/transport/message_compressor_snappy.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/add_shard_cmd.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/s/clone_catalog_data_command.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/commands/libmap_reduce_agg.a build/59f4f0dd/mongo/db/commands/map_reduce_agg.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/commands/libmap_reduce_agg.a
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_erf.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_erf.c
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/add_shard_cmd.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_erf.c: In function '__dpml_bid_C_ux_erf__':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_erf.c:218:18: warning: unused variable 'class_to_action_map' [-Wunused-variable]
  218 |     WORD const * class_to_action_map;
      |                  ^~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_2_str_tables.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_2_str_tables.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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from src/mongo/db/s/add_shard_cmd.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_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/clone_catalog_data_command.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/system/src/error_code.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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/boost-1.70.0 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/system/src/error_code.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/clone_catalog_data_command.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/add_shard_cmd.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Generating build/59f4f0dd/mongo/db/repl/replication_coordinator_impl_gen.cpp
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/clone_catalog_data_command.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/repl/replication_coordinator_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/replication_coordinator_impl.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/pipeline/document_source.h:45,
                 from src/mongo/s/query/document_source_merge_cursors.h:34,
                 from src/mongo/s/query/document_source_merge_cursors.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/s/client/version_manager.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/client/version_manager.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/s/query/document_source_merge_cursors.h:34,
                 from src/mongo/s/query/document_source_merge_cursors.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/logical_session_id.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/logical_session_id.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/query/document_source_merge_cursors.h:34,
                 from src/mongo/s/query/document_source_merge_cursors.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/s/query/document_source_merge_cursors.h:34,
                 from src/mongo/s/query/document_source_merge_cursors.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/repl/sync_source_resolver.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/sync_source_resolver.cpp
c++ -o build/59f4f0dd/third_party/s2/s2regionintersection.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DDEBUG_MODE=false -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/third_party/s2/s2regionintersection.cc
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_scalb.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_scalb.c
Generating build/59f4f0dd/mongo/db/read_concern_mongod_gen.cpp
c++ -o build/59f4f0dd/mongo/db/commands/mr_common.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/mr_common.cpp
c++ -o build/59f4f0dd/mongo/db/read_concern_mongod_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/read_concern_mongod_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/client/fetcher.h:42,
                 from src/mongo/db/repl/initial_syncer.h:42,
                 from src/mongo/db/repl/replication_coordinator_impl.h:41,
                 from src/mongo/db/repl/replication_coordinator_impl.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/client/fetcher.h:42,
                 from src/mongo/db/repl/initial_syncer.h:42,
                 from src/mongo/db/repl/replication_coordinator_impl.h:41,
                 from src/mongo/db/repl/replication_coordinator_impl.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/commands/user_management_commands_common.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/user_management_commands_common.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/client/fetcher.h:42,
                 from src/mongo/db/repl/initial_syncer.h:42,
                 from src/mongo/db/repl/replication_coordinator_impl.h:41,
                 from src/mongo/db/repl/replication_coordinator_impl.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/client/fetcher.h:42,
                 from src/mongo/db/repl/initial_syncer.h:42,
                 from src/mongo/db/repl/replication_coordinator_impl.h:41,
                 from src/mongo/db/repl/replication_coordinator_impl.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/clientcursor.h:40,
                 from src/mongo/client/fetcher.h:42,
                 from src/mongo/db/repl/sync_source_resolver.h:37,
                 from src/mongo/db/repl/sync_source_resolver.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/client/fetcher.h:42,
                 from src/mongo/db/repl/sync_source_resolver.h:37,
                 from src/mongo/db/repl/sync_source_resolver.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/commands/conn_pool_sync.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/conn_pool_sync.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/clientcursor.h:40,
                 from src/mongo/client/fetcher.h:42,
                 from src/mongo/db/repl/sync_source_resolver.h:37,
                 from src/mongo/db/repl/sync_source_resolver.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/client/fetcher.h:42,
                 from src/mongo/db/repl/sync_source_resolver.h:37,
                 from src/mongo/db/repl/sync_source_resolver.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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/client/version_manager.cpp:47:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/client/version_manager.cpp:47:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/client/version_manager.cpp:47:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/client/version_manager.cpp:47:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/commands/logical_session_server_status_section.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/logical_session_server_status_section.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/59f4f0dd/mongo/db/read_concern_mongod_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/commands/mr_common.h:35,
                 from src/mongo/db/commands/mr_common.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/commands/conn_pool_sync.cpp:33:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/read_concern_mongod_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/conn_pool_sync.cpp:33:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595: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/59f4f0dd/mongo/db/read_concern_mongod_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
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/conn_pool_sync.cpp:33:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
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/mr_common.h:35,
                 from src/mongo/db/commands/mr_common.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/conn_pool_sync.cpp:33:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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: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/59f4f0dd/mongo/db/read_concern_mongod_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/mr_common.h:35,
                 from src/mongo/db/commands/mr_common.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/mr_common.h:35,
                 from src/mongo/db/commands/mr_common.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/commands/server_status.h:32,
                 from src/mongo/db/commands/logical_session_server_status_section.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/commands/server_status.h:32,
                 from src/mongo/db/commands/logical_session_server_status_section.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
Generating build/59f4f0dd/mongo/db/commands/user_management_commands_gen.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/commands/logical_session_server_status_section.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/server_status.h:32,
                 from src/mongo/db/commands/logical_session_server_status_section.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Generating build/59f4f0dd/mongo/db/auth/address_restriction_gen.cpp
c++ -o build/59f4f0dd/mongo/db/commands/user_management_commands_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/commands/user_management_commands_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/commands/conn_pool_stats.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/conn_pool_stats.cpp
Generating build/59f4f0dd/mongo/db/commands/rwc_defaults_commands_gen.cpp
Generating build/59f4f0dd/mongo/db/commands/drop_connections_gen.cpp
c++ -o build/59f4f0dd/mongo/db/commands/rwc_defaults_commands_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/commands/rwc_defaults_commands_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/commands/drop_connections_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/drop_connections_command.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/commands/reap_logical_session_cache_now.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/reap_logical_session_cache_now.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/commands/rwc_defaults_commands_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/commands/drop_connections_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/commands/drop_connections_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/commands/drop_connections_command.cpp:33:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/commands/rwc_defaults_commands_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 build/59f4f0dd/mongo/db/commands/user_management_commands_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/commands/rwc_defaults_commands_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/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/conn_pool_stats.cpp:41:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/commands/rwc_defaults_commands_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/commands/reap_logical_session_cache_now.cpp:33:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/drop_connections_command.cpp:33:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/drop_connections_command.cpp:33:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from build/59f4f0dd/mongo/db/commands/user_management_commands_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/conn_pool_stats.cpp:41:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574: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/59f4f0dd/mongo/db/commands/user_management_commands_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
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/drop_connections_command.cpp:33:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from src/mongo/db/commands/reap_logical_session_cache_now.cpp:33:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/conn_pool_stats.cpp:41:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_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/59f4f0dd/mongo/db/commands/user_management_commands_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/conn_pool_stats.cpp:41:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_type.h:196:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/reap_logical_session_cache_now.cpp:33:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/reap_logical_session_cache_now.cpp:33:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/db/commands/drop_connections_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
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/59f4f0dd/mongo/db/commands/drop_connections_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/commands/drop_connections_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/commands/drop_connections_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/commands/traffic_recording_cmds.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/traffic_recording_cmds.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
/usr/pkg/bin/python3.12 src/mongo/db/fts/generate_stop_words.py src/mongo/db/fts/stop_words_danish.txt src/mongo/db/fts/stop_words_dutch.txt src/mongo/db/fts/stop_words_english.txt src/mongo/db/fts/stop_words_finnish.txt src/mongo/db/fts/stop_words_french.txt src/mongo/db/fts/stop_words_german.txt src/mongo/db/fts/stop_words_hungarian.txt src/mongo/db/fts/stop_words_italian.txt src/mongo/db/fts/stop_words_norwegian.txt src/mongo/db/fts/stop_words_portuguese.txt src/mongo/db/fts/stop_words_romanian.txt src/mongo/db/fts/stop_words_russian.txt src/mongo/db/fts/stop_words_spanish.txt src/mongo/db/fts/stop_words_swedish.txt src/mongo/db/fts/stop_words_turkish.txt build/59f4f0dd/mongo/db/fts/stop_words_list.h build/59f4f0dd/mongo/db/fts/stop_words_list.cpp
c++ -o build/59f4f0dd/mongo/db/fts/stop_words_list.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/libstemmer_c/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/fts/stop_words_list.cpp
c++ -o build/59f4f0dd/mongo/db/s/sharding_logging.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/sharding_logging.cpp
Creating 'build/59f4f0dd/mongo/util/version_constants.h'
c++ -o build/59f4f0dd/mongo/util/version_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/version_impl.cpp
Generating build/59f4f0dd/mongo/db/pipeline/value_gen.cpp
c++ -o build/59f4f0dd/mongo/db/pipeline/value_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/pipeline/value_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
gcc -o build/59f4f0dd/third_party/wiredtiger/src/txn/txn_ckpt.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/txn/txn_ckpt.c
c++ -o build/59f4f0dd/mongo/db/catalog/index_build_oplog_entry.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/index_build_oplog_entry.cpp
c++ -o build/59f4f0dd/mongo/db/commands/feature_compatibility_version_command_parser.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/feature_compatibility_version_command_parser.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/traffic_recording_cmds.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/util/net/http_client.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/net/http_client.cpp
ar rcsTD build/59f4f0dd/mongo/util/libversion_impl.a build/59f4f0dd/mongo/util/version_impl.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/libversion_impl.a
c++ -o build/59f4f0dd/mongo/util/concurrency/thread_name.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/concurrency/thread_name.cpp
Generating build/59f4f0dd/mongo/s/request_types/refine_collection_shard_key_gen.cpp
c++ -o build/59f4f0dd/mongo/s/request_types/refine_collection_shard_key_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/s/request_types/refine_collection_shard_key_gen.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/commands/traffic_recording_cmds.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/traffic_recording_cmds.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/traffic_recording_cmds.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/db/pipeline/value_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/pipeline/value_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/util/secure_compare_memory.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/secure_compare_memory.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/auth/authorization_session.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/authorization_session.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/pipeline/value_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/util/libsecure_compare_memory.a build/59f4f0dd/mongo/util/secure_compare_memory.o
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/59f4f0dd/mongo/db/pipeline/value_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/libsecure_compare_memory.a
gcc -o build/59f4f0dd/third_party/wiredtiger/src/lsm/lsm_merge.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/lsm/lsm_merge.c
c++ -o build/59f4f0dd/mongo/db/repl/repl_set_config.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/repl_set_config.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_rem.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_rem.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_walk.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/btree/bt_walk.c
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/feature_compatibility_version_command_parser.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/s/request_types/refine_collection_shard_key_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/s/session_catalog_migration_source.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/session_catalog_migration_source.cpp
ar rcsTD build/59f4f0dd/mongo/db/s/libsharding_logging.a build/59f4f0dd/mongo/db/s/sharding_logging.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/s/libsharding_logging.a
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lgamma.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lgamma.c
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/feature_compatibility_version_command_parser.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lgamma.c:37:20: warning: 'BID128_NAN' defined but not used [-Wunused-variable]
   37 | static BID_UINT128 BID128_NAN =
      |                    ^~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/59f4f0dd/mongo/s/request_types/refine_collection_shard_key_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/query/sort_pattern.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/sort_pattern.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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/feature_compatibility_version_command_parser.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574: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/feature_compatibility_version_command_parser.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/s/request_types/refine_collection_shard_key_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/s/request_types/refine_collection_shard_key_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/auth/authorization_session.cpp:51:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/commands/libservers.a build/59f4f0dd/mongo/db/commands/conn_pool_stats.o build/59f4f0dd/mongo/db/commands/conn_pool_sync.o build/59f4f0dd/mongo/db/commands/connection_status.o build/59f4f0dd/mongo/db/commands/drop_connections_command.o build/59f4f0dd/mongo/db/commands/generic_servers.o build/59f4f0dd/mongo/db/commands/isself.o build/59f4f0dd/mongo/db/commands/logical_session_server_status_section.o build/59f4f0dd/mongo/db/commands/mr_common.o build/59f4f0dd/mongo/db/commands/reap_logical_session_cache_now.o build/59f4f0dd/mongo/db/commands/traffic_recording_cmds.o build/59f4f0dd/mongo/db/commands/user_management_commands_common.o build/59f4f0dd/mongo/db/commands/drop_connections_gen.o build/59f4f0dd/mongo/db/commands/rwc_defaults_commands_gen.o build/59f4f0dd/mongo/db/commands/user_management_commands_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/commands/libservers.a
c++ -o build/59f4f0dd/mongo/s/database_version_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/s/database_version_gen.cpp
c++ -o build/59f4f0dd/mongo/bson/mutable/document.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/bson/mutable/document.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/bson/util/bson_check.h:34,
                 from src/mongo/db/repl/repl_set_config.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/bson/util/bson_check.h:34,
                 from src/mongo/db/repl/repl_set_config.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
gcc -o build/59f4f0dd/third_party/wiredtiger/src/block/block_tiered.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/block/block_tiered.c
In file included from src/mongo/db/pipeline/expression_context.h:44,
                 from src/mongo/db/pipeline/document_path_support.h:38,
                 from src/mongo/db/query/sort_pattern.h:34,
                 from src/mongo/db/query/sort_pattern.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from src/mongo/bson/util/bson_check.h:34,
                 from src/mongo/db/repl/repl_set_config.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/bson/util/bson_check.h:34,
                 from src/mongo/db/repl/repl_set_config.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/util/net/cidr.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/net/cidr.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/s/session_catalog_migration_source.cpp:36:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_raii.h:33,
                 from src/mongo/db/s/session_catalog_migration_source.cpp:36:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/commands/libfeature_compatibility_parsers.a build/59f4f0dd/mongo/db/commands/feature_compatibility_version_parser.o build/59f4f0dd/mongo/db/commands/feature_compatibility_version_command_parser.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/commands/libfeature_compatibility_parsers.a
c++ -o build/59f4f0dd/mongo/db/matcher/match_details.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/match_details.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_raii.h:33,
                 from src/mongo/db/s/session_catalog_migration_source.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/s/session_catalog_migration_source.cpp:36:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/s/database_version_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/s/config/configsvr_add_shard_to_zone_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/config/configsvr_add_shard_to_zone_command.cpp
c++ -o build/59f4f0dd/mongo/db/repl/timestamp_block.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/timestamp_block.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/59f4f0dd/mongo/s/database_version_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/s/database_version_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/s/database_version_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/repl/rollback_source_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/rollback_source_impl.cpp
ar rcsTD build/59f4f0dd/mongo/db/query/libsort_pattern.a build/59f4f0dd/mongo/db/query/sort_pattern.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/query/libsort_pattern.a
c++ -o build/59f4f0dd/mongo/db/stats/timer_stats.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/stats/timer_stats.cpp
c++ -o build/59f4f0dd/mongo/db/commands/profile_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/commands/profile_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/stats/libtimer_stats.a build/59f4f0dd/mongo/db/stats/timer_stats.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/stats/libtimer_stats.a
c++ -o build/59f4f0dd/mongo/util/net/private/ssl_expiration.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/net/private/ssl_expiration.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_add_shard_to_zone_command.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/repl/libtimestamp_block.a build/59f4f0dd/mongo/db/repl/timestamp_block.o
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libtimestamp_block.a
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_limit.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_limit.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/s/config/configsvr_add_shard_to_zone_command.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_add_shard_to_zone_command.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/s/query/router_stage_remove_metadata_fields.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/query/router_stage_remove_metadata_fields.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
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_add_shard_to_zone_command.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_sort.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_sort.cpp
c++ -o build/59f4f0dd/mongo/db/logical_time_validator.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/logical_time_validator.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/commands/profile_common.h:35,
                 from build/59f4f0dd/mongo/db/commands/profile_gen.h:21,
                 from build/59f4f0dd/mongo/db/commands/profile_gen.cpp:9:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
Generating build/59f4f0dd/mongo/s/sharding_task_executor_pool_gen.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/commands/profile_common.h:35,
                 from build/59f4f0dd/mongo/db/commands/profile_gen.h:21,
                 from build/59f4f0dd/mongo/db/commands/profile_gen.cpp:9:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/s/sharding_initialization.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/sharding_initialization.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/pipeline/document_source.h:45,
                 from src/mongo/db/pipeline/document_source_limit.h:32,
                 from src/mongo/db/pipeline/document_source_limit.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/commands/profile_common.h:35,
                 from build/59f4f0dd/mongo/db/commands/profile_gen.h:21,
                 from build/59f4f0dd/mongo/db/commands/profile_gen.cpp:9:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/profile_common.h:35,
                 from build/59f4f0dd/mongo/db/commands/profile_gen.h:21,
                 from build/59f4f0dd/mongo/db/commands/profile_gen.cpp:9:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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_limit.h:32,
                 from src/mongo/db/pipeline/document_source_limit.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/query/index_bounds.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/index_bounds.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_limit.h:32,
                 from src/mongo/db/pipeline/document_source_limit.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_limit.h:32,
                 from src/mongo/db/pipeline/document_source_limit.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/auth/sasl_mechanism_registry.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/sasl_mechanism_registry.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/pipeline/document_path_support.h:38,
                 from src/mongo/db/query/sort_pattern.h:34,
                 from src/mongo/db/exec/sort_key_comparator.h:35,
                 from src/mongo/db/exec/sort_executor.h:34,
                 from src/mongo/db/pipeline/document_source_sort.h:32,
                 from src/mongo/db/pipeline/document_source_sort.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/auth/sasl_scram_server_conversation.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/sasl_scram_server_conversation.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_sort.h:34,
                 from src/mongo/db/pipeline/document_source_sort.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_sort.h:34,
                 from src/mongo/db/pipeline/document_source_sort.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/auth/sasl_plain_server_conversation.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/sasl_plain_server_conversation.cpp
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_sort.h:34,
                 from src/mongo/db/pipeline/document_source_sort.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/auth/sasl_mechanism_registry.h:38,
                 from src/mongo/db/auth/sasl_mechanism_registry.cpp:33:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/auth/sasl_mechanism_registry.h:38,
                 from src/mongo/db/auth/sasl_mechanism_registry.cpp:33:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/auth/sasl_mechanism_registry.h:38,
                 from src/mongo/db/auth/sasl_mechanism_registry.cpp:33:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/auth/sasl_mechanism_registry.h:38,
                 from src/mongo/db/auth/sasl_mechanism_registry.cpp:33:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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:37,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/s/query/cluster_client_cursor_params.h:43,
                 from src/mongo/s/query/cluster_client_cursor.h:38,
                 from src/mongo/s/query/cluster_cursor_manager.h:43,
                 from src/mongo/s/sharding_initialization.cpp:72:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/executor/connection_pool_stats.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/executor/connection_pool_stats.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/s/query/cluster_client_cursor_params.h:43,
                 from src/mongo/s/query/cluster_client_cursor.h:38,
                 from src/mongo/s/query/cluster_cursor_manager.h:43,
                 from src/mongo/s/sharding_initialization.cpp:72:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/commands/txn_cmds_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/commands/txn_cmds_gen.cpp
In file included from src/mongo/db/matcher/expression_parser.h:39,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/s/query/cluster_client_cursor_params.h:43,
                 from src/mongo/s/query/cluster_client_cursor.h:38,
                 from src/mongo/s/query/cluster_cursor_manager.h:43,
                 from src/mongo/s/sharding_initialization.cpp:72:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/pipeline/pipeline.h:40,
                 from src/mongo/s/query/cluster_client_cursor_params.h:43,
                 from src/mongo/s/query/cluster_client_cursor.h:38,
                 from src/mongo/s/query/cluster_cursor_manager.h:43,
                 from src/mongo/s/sharding_initialization.cpp:72:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/util/itoa.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/itoa.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/auth/sasl_mechanism_registry.h:38,
                 from src/mongo/db/auth/sasl_mechanism_policies.h:34,
                 from src/mongo/db/auth/sasl_scram_server_conversation.h:33,
                 from src/mongo/db/auth/sasl_scram_server_conversation.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/auth/sasl_mechanism_registry.h:38,
                 from src/mongo/db/auth/sasl_mechanism_policies.h:34,
                 from src/mongo/db/auth/sasl_plain_server_conversation.h:32,
                 from src/mongo/db/auth/sasl_plain_server_conversation.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/auth/sasl_mechanism_registry.h:38,
                 from src/mongo/db/auth/sasl_mechanism_policies.h:34,
                 from src/mongo/db/auth/sasl_scram_server_conversation.h:33,
                 from src/mongo/db/auth/sasl_scram_server_conversation.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/auth/sasl_mechanism_registry.h:38,
                 from src/mongo/db/auth/sasl_mechanism_policies.h:34,
                 from src/mongo/db/auth/sasl_scram_server_conversation.h:33,
                 from src/mongo/db/auth/sasl_scram_server_conversation.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/auth/sasl_mechanism_registry.h:38,
                 from src/mongo/db/auth/sasl_mechanism_policies.h:34,
                 from src/mongo/db/auth/sasl_plain_server_conversation.h:32,
                 from src/mongo/db/auth/sasl_plain_server_conversation.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/auth/sasl_mechanism_registry.h:38,
                 from src/mongo/db/auth/sasl_mechanism_policies.h:34,
                 from src/mongo/db/auth/sasl_scram_server_conversation.h:33,
                 from src/mongo/db/auth/sasl_scram_server_conversation.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/auth/sasl_mechanism_registry.h:38,
                 from src/mongo/db/auth/sasl_mechanism_policies.h:34,
                 from src/mongo/db/auth/sasl_plain_server_conversation.h:32,
                 from src/mongo/db/auth/sasl_plain_server_conversation.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/auth/sasl_mechanism_registry.h:38,
                 from src/mongo/db/auth/sasl_mechanism_policies.h:34,
                 from src/mongo/db/auth/sasl_plain_server_conversation.h:32,
                 from src/mongo/db/auth/sasl_plain_server_conversation.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/db/commands/txn_cmds_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/base/global_initializer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/base/global_initializer.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/59f4f0dd/mongo/db/commands/txn_cmds_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/commands/txn_cmds_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/commands/txn_cmds_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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:39,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/s/query/cluster_client_cursor_params.h:43,
                 from src/mongo/s/query/cluster_client_cursor.h:38,
                 from src/mongo/s/query/cluster_cursor_manager.h:43,
                 from src/mongo/s/sharding_initialization.cpp:72:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/executor/libconnection_pool_stats.a build/59f4f0dd/mongo/executor/connection_pool_stats.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/executor/libconnection_pool_stats.a
c++ -o build/59f4f0dd/mongo/db/client.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/client.cpp
c++ -o build/59f4f0dd/mongo/db/s/config/sharding_catalog_manager_shard_operations.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/config/sharding_catalog_manager_shard_operations.cpp
c++ -o build/59f4f0dd/mongo/db/ftdc/ftdc_system_stats.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/ftdc/ftdc_system_stats.cpp
c++ -o build/59f4f0dd/mongo/client/dbclient_connection.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/dbclient_connection.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/pipeline/aggregation_request.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/aggregation_request.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/util/processinfo_netbsd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/processinfo_netbsd.cpp
gcc -o build/59f4f0dd/third_party/wiredtiger/src/conn/api_version.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/conn/api_version.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_stat.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/btree/bt_stat.c
ar rcsTD build/59f4f0dd/mongo/db/auth/libsaslauth.a build/59f4f0dd/mongo/db/auth/sasl_mechanism_registry.o build/59f4f0dd/mongo/db/auth/sasl_plain_server_conversation.o build/59f4f0dd/mongo/db/auth/sasl_scram_server_conversation.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/auth/libsaslauth.a
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source.cpp
c++ -o build/59f4f0dd/mongo/db/commands/index_filter_commands.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/index_filter_commands.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_raii.h:33,
                 from src/mongo/db/s/config/sharding_catalog_manager_shard_operations.cpp:47:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/client/dbclient_connection.cpp:59:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/repl/repl_set_request_votes_args.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/repl_set_request_votes_args.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_raii.h:33,
                 from src/mongo/db/s/config/sharding_catalog_manager_shard_operations.cpp:47:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
In file included from src/mongo/db/pipeline/aggregation_request.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/index/multikey_paths.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/index/multikey_paths.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/client/dbclient_connection.cpp:59:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/client/dbclient_connection.cpp:59:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/client/dbclient_connection.cpp:59:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_raii.h:33,
                 from src/mongo/db/s/config/sharding_catalog_manager_shard_operations.cpp:47:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/s/config/sharding_catalog_manager_shard_operations.cpp:47:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/index/index_access_method.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/index/index_access_method.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/aggregation_request.cpp:41:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/aggregation_request.cpp:41:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/range_arithmetic.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/range_arithmetic.cpp
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/aggregation_request.cpp:41:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/bson/util/bson_check.h:34,
                 from src/mongo/db/repl/repl_set_request_votes_args.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/bson/util/bson_check.h:34,
                 from src/mongo/db/repl/repl_set_request_votes_args.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/bson/util/bson_check.h:34,
                 from src/mongo/db/repl/repl_set_request_votes_args.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/bson/util/bson_check.h:34,
                 from src/mongo/db/repl/repl_set_request_votes_args.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/catalog/document_validation.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/document_validation.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/index_filter_commands.cpp:42:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/index_filter_commands.cpp:42:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/catalog/validate_state.h:35,
                 from src/mongo/db/catalog/index_consistency.h:33,
                 from src/mongo/db/index/index_access_method.cpp:42:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_raii.h:33,
                 from src/mongo/db/catalog/validate_state.h:35,
                 from src/mongo/db/catalog/index_consistency.h:33,
                 from src/mongo/db/index/index_access_method.cpp:42:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/index_filter_commands.cpp:42:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/index_filter_commands.cpp:42:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/catalog_raii.h:33,
                 from src/mongo/db/catalog/validate_state.h:35,
                 from src/mongo/db/catalog/index_consistency.h:33,
                 from src/mongo/db/index/index_access_method.cpp:42:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/catalog/validate_state.h:35,
                 from src/mongo/db/catalog/index_consistency.h:33,
                 from src/mongo/db/index/index_access_method.cpp:42:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_round.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_round.c
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/named_scope_format_parser.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/log/src/named_scope_format_parser.cpp
ar rcsTD build/59f4f0dd/mongo/db/pipeline/libaggregation_request.a build/59f4f0dd/mongo/db/pipeline/aggregation_request.o
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/pipeline/libaggregation_request.a
Generating build/59f4f0dd/mongo/s/request_types/create_database_gen.cpp
Generating build/59f4f0dd/mongo/s/router_transactions_stats_gen.cpp
Generating build/59f4f0dd/mongo/db/commands/txn_two_phase_commit_cmds_gen.cpp
c++ -o build/59f4f0dd/mongo/scripting/mozjs/mongo.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/mongo.cpp
c++ -o build/59f4f0dd/mongo/s/cluster_commands_helpers.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/cluster_commands_helpers.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/s/set_shard_version_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/set_shard_version_command.cpp
c++ -o build/59f4f0dd/mongo/s/transaction_router.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/transaction_router.cpp
c++ -o build/59f4f0dd/mongo/s/router_transactions_metrics.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/router_transactions_metrics.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 src/mongo/s/cluster_commands_helpers.h:39,
                 from src/mongo/s/cluster_commands_helpers.cpp:36:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/s/cluster_commands_helpers.h:39,
                 from src/mongo/s/cluster_commands_helpers.cpp:36:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/s/set_shard_version_command.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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/s/cluster_commands_helpers.h:39,
                 from src/mongo/s/cluster_commands_helpers.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574: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/s/cluster_commands_helpers.h:39,
                 from src/mongo/s/cluster_commands_helpers.cpp:36:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595: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::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_raii.h:33,
                 from src/mongo/db/s/set_shard_version_command.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/transaction_router.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_raii.h:33,
                 from src/mongo/db/s/set_shard_version_command.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/s/set_shard_version_command.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/s/router_transactions_stats_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/s/router_transactions_stats_gen.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/router_transactions_metrics.h:35,
                 from src/mongo/s/router_transactions_metrics.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/commands/dbhash.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/dbhash.cpp
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/router_transactions_metrics.h:35,
                 from src/mongo/s/router_transactions_metrics.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/router_transactions_metrics.h:35,
                 from src/mongo/s/router_transactions_metrics.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/router_transactions_metrics.h:35,
                 from src/mongo/s/router_transactions_metrics.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/update/modifier_node.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/update/modifier_node.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/59f4f0dd/mongo/s/router_transactions_stats_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/s/router_transactions_stats_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
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/59f4f0dd/mongo/s/router_transactions_stats_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/s/router_transactions_stats_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/index/libindex_access_method.a build/59f4f0dd/mongo/db/index/index_access_method.o build/59f4f0dd/mongo/db/index/multikey_paths.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/index/libindex_access_method.a
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/dbhash.cpp:39:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/s/config/configsvr_split_chunk_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/config/configsvr_split_chunk_command.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/dbhash.cpp:39:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/update/update_leaf_node.h:32,
                 from src/mongo/db/update/modifier_node.h:39,
                 from src/mongo/db/update/modifier_node.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/dbhash.cpp:39:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/dbhash.cpp:39:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/update/path_support.h:40,
                 from src/mongo/db/update/modifier_node.cpp:35:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/index/2d_access_method.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/index/2d_access_method.cpp
c++ -o build/59f4f0dd/mongo/db/s/session_catalog_migration_destination.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/session_catalog_migration_destination.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/base/data_type_string_data.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/base/data_type_string_data.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_split_chunk_command.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/client/sdam/sdam_configuration.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/sdam/sdam_configuration.cpp
c++ -o build/59f4f0dd/mongo/client/sdam/topology_listener.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/sdam/topology_listener.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/s/config/configsvr_split_chunk_command.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/client/sdam/server_selector.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/sdam/server_selector.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_split_chunk_command.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/s/libsharding_router_api.a build/59f4f0dd/mongo/s/cluster_commands_helpers.o build/59f4f0dd/mongo/s/multi_statement_transaction_requests_sender.o build/59f4f0dd/mongo/s/transaction_router.o build/59f4f0dd/mongo/s/router_transactions_metrics.o build/59f4f0dd/mongo/s/session_catalog_router.o build/59f4f0dd/mongo/s/router_transactions_stats_gen.o
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_split_chunk_command.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/libsharding_router_api.a
c++ -o build/59f4f0dd/mongo/client/sdam/topology_manager.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/sdam/topology_manager.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/client/sdam/sdam_datatypes.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/sdam/sdam_datatypes.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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/s/session_catalog_migration_destination.cpp:41:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/s/session_catalog_migration_destination.cpp:41:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
gcc -o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_huffman.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/btree/bt_huffman.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/collection_catalog.h:36,
                 from src/mongo/db/curop.h:35,
                 from src/mongo/db/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/s/session_catalog_migration_destination.cpp:41:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/s/session_catalog_migration_destination.cpp:41:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/third_party/wiredtiger/src/cursor/cur_backup_incr.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/cursor/cur_backup_incr.c
c++ -o build/59f4f0dd/mongo/db/fts/stemmer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/libstemmer_c/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/fts/stemmer.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/fts/fts_unicode_phrase_matcher.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/libstemmer_c/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/fts/fts_unicode_phrase_matcher.cpp
c++ -o build/59f4f0dd/mongo/db/fts/fts_language.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/libstemmer_c/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/fts/fts_language.cpp
c++ -o build/59f4f0dd/mongo/db/fts/fts_index_format.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/libstemmer_c/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/fts/fts_index_format.cpp
c++ -o build/59f4f0dd/mongo/db/fts/fts_basic_phrase_matcher.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/libstemmer_c/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/fts/fts_basic_phrase_matcher.cpp
c++ -o build/59f4f0dd/mongo/db/fts/fts_util.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/libstemmer_c/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/fts/fts_util.cpp
c++ -o build/59f4f0dd/mongo/db/fts/stop_words.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/libstemmer_c/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/fts/stop_words.cpp
c++ -o build/59f4f0dd/mongo/db/fts/fts_query_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/libstemmer_c/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/fts/fts_query_impl.cpp
c++ -o build/59f4f0dd/mongo/db/fts/fts_matcher.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/libstemmer_c/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/fts/fts_matcher.cpp
ar rcsTD build/59f4f0dd/mongo/client/sdam/libsdam.a build/59f4f0dd/mongo/client/sdam/sdam_configuration.o build/59f4f0dd/mongo/client/sdam/sdam_datatypes.o build/59f4f0dd/mongo/client/sdam/server_description.o build/59f4f0dd/mongo/client/sdam/topology_description.o build/59f4f0dd/mongo/client/sdam/topology_listener.o build/59f4f0dd/mongo/client/sdam/topology_state_machine.o build/59f4f0dd/mongo/client/sdam/topology_manager.o build/59f4f0dd/mongo/client/sdam/server_selector.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/client/sdam/libsdam.a
c++ -o build/59f4f0dd/mongo/db/fts/tokenizer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/libstemmer_c/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/fts/tokenizer.cpp
c++ -o build/59f4f0dd/mongo/db/fts/fts_spec_legacy.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/libstemmer_c/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/fts/fts_spec_legacy.cpp
src/mongo/db/fts/fts_query_impl.cpp: In member function 'virtual std::unique_ptr<mongo::fts::FTSQuery> mongo::fts::FTSQueryImpl::clone() const':
src/mongo/db/fts/fts_query_impl.cpp:152:21: warning: redundant move in return statement [-Wredundant-move]
  152 |     return std::move(clonedQuery);
      |            ~~~~~~~~~^~~~~~~~~~~~~
src/mongo/db/fts/fts_query_impl.cpp:152:21: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/commands/map_reduce_finish_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/map_reduce_finish_command.cpp
c++ -o build/59f4f0dd/third_party/shim_wiredtiger.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/shim_wiredtiger.cpp
gcc -o build/59f4f0dd/third_party/wiredtiger/src/support/stat.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/support/stat.c
c++ -o build/59f4f0dd/mongo/db/s/transaction_coordinator_futures_util.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/transaction_coordinator_futures_util.cpp
c++ -o build/59f4f0dd/mongo/db/repl/check_quorum_for_config_change.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/check_quorum_for_config_change.cpp
Generating build/59f4f0dd/mongo/util/net/ssl_parameters_gen.cpp
c++ -o build/59f4f0dd/mongo/db/s/config/configsvr_merge_chunk_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/config/configsvr_merge_chunk_command.cpp
c++ -o build/59f4f0dd/mongo/util/net/ssl_manager_openssl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/net/ssl_manager_openssl.cpp
c++ -o build/59f4f0dd/mongo/db/op_observer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/op_observer.cpp
ar rcsTD build/59f4f0dd/mongo/db/fts/libbase_fts.a build/59f4f0dd/mongo/db/fts/fts_index_format.o build/59f4f0dd/mongo/db/fts/fts_matcher.o build/59f4f0dd/mongo/db/fts/fts_query_impl.o build/59f4f0dd/mongo/db/fts/fts_query_parser.o build/59f4f0dd/mongo/db/fts/fts_spec.o build/59f4f0dd/mongo/db/fts/fts_spec_legacy.o build/59f4f0dd/mongo/db/fts/fts_language.o build/59f4f0dd/mongo/db/fts/fts_basic_phrase_matcher.o build/59f4f0dd/mongo/db/fts/fts_basic_tokenizer.o build/59f4f0dd/mongo/db/fts/fts_unicode_phrase_matcher.o build/59f4f0dd/mongo/db/fts/fts_unicode_tokenizer.o build/59f4f0dd/mongo/db/fts/fts_util.o build/59f4f0dd/mongo/db/fts/fts_element_iterator.o build/59f4f0dd/mongo/db/fts/stemmer.o build/59f4f0dd/mongo/db/fts/stop_words.o build/59f4f0dd/mongo/db/fts/stop_words_list.o build/59f4f0dd/mongo/db/fts/tokenizer.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/fts/libbase_fts.a
c++ -o build/59f4f0dd/mongo/db/s/shard_server_op_observer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/shard_server_op_observer.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_noncomp.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_noncomp.c
Generating build/59f4f0dd/mongo/db/auth/authorization_manager_global_parameters_gen.cpp
c++ -o build/59f4f0dd/mongo/db/auth/authorization_manager_global_parameters_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/auth/authorization_manager_global_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/commands/map_reduce_finish_command.cpp:33:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/s/config/configsvr_merge_chunk_command.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/map_reduce_finish_command.cpp:33:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/map_reduce_finish_command.cpp:33:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/map_reduce_finish_command.cpp:33:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from src/mongo/db/s/config/configsvr_merge_chunk_command.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_merge_chunk_command.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_merge_chunk_command.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/op_observer.h:35,
                 from src/mongo/db/op_observer.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/op_observer.h:35,
                 from src/mongo/db/op_observer.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/op_observer.h:35,
                 from src/mongo/db/s/shard_server_op_observer.h:32,
                 from src/mongo/db/s/shard_server_op_observer.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/op_observer.h:35,
                 from src/mongo/db/s/shard_server_op_observer.h:32,
                 from src/mongo/db/s/shard_server_op_observer.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/op_observer.h:35,
                 from src/mongo/db/op_observer.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/op_observer.h:35,
                 from src/mongo/db/op_observer.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/util/net/ssl_manager_openssl.cpp: In lambda function:
src/mongo/util/net/ssl_manager_openssl.cpp:720:29: warning: redundant move in return statement [-Wredundant-move]
  720 |             return std::move(response);
      |                    ~~~~~~~~~^~~~~~~~~~
src/mongo/util/net/ssl_manager_openssl.cpp:720:29: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/pipeline/accumulator_avg.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/accumulator_avg.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/op_observer.h:35,
                 from src/mongo/db/s/shard_server_op_observer.h:32,
                 from src/mongo/db/s/shard_server_op_observer.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/op_observer.h:35,
                 from src/mongo/db/s/shard_server_op_observer.h:32,
                 from src/mongo/db/s/shard_server_op_observer.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/db/auth/authorization_manager_global_parameters_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/auth/authorization_manager_global_parameters_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
In file included from src/mongo/util/net/ssl_manager_openssl.cpp:67:
src/mongo/util/read_through_cache.h: In instantiation of 'mongo::Future<Value> mongo::ReadThroughCache<Key, Value>::_asyncLookupWhileInvalidated(std::unique_lock<mongo::latch_detail::Mutex>, mongo::ReadThroughCache<Key, Value>::InProgressLookup&) [with Key = mongo::{anonymous}::OCSPCacheKey; Value = mongo::{anonymous}::OCSPFetchResponse]':
src/mongo/util/read_through_cache.h:234:24:   required from 'mongo::SharedSemiFuture<mongo::ReadThroughCache<Key, Value>::ValueHandle> mongo::ReadThroughCache<Key, Value>::acquireAsync(const Key&) [with Key = mongo::{anonymous}::OCSPCacheKey; Value = mongo::{anonymous}::OCSPFetchResponse]'
src/mongo/util/net/ssl_manager_openssl.cpp:1905:58:   required from here
src/mongo/util/read_through_cache.h:435:32: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
  435 |         return std::move(future);
      |                                ^
src/mongo/util/read_through_cache.h:435:32: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/util/invalidating_lru_cache.h:38,
                 from src/mongo/util/read_through_cache.h:40,
                 from src/mongo/util/net/ssl_manager_openssl.cpp:67:
src/mongo/util/lru_cache.h: In instantiation of 'boost::optional<std::pair<_T1, _T2> > mongo::LRUCache<K, V, Hash, KeyEqual>::add(const K&, V) [with K = mongo::{anonymous}::OCSPCacheKey; V = std::shared_ptr<mongo::InvalidatingLRUCache<mongo::{anonymous}::OCSPCacheKey, mongo::ReadThroughCache<mongo::{anonymous}::OCSPCacheKey, mongo::{anonymous}::OCSPFetchResponse>::StoredValue>::StoredValue>; Hash = absl::hash_internal::Hash<mongo::{anonymous}::OCSPCacheKey>; KeyEqual = std::equal_to<mongo::{anonymous}::OCSPCacheKey>]':
src/mongo/util/invalidating_lru_cache.h:232:38:   required from 'mongo::InvalidatingLRUCache<Key, Value>::ValueHandle mongo::InvalidatingLRUCache<Key, Value>::insertOrAssignAndGet(const Key&, Value&&) [with Key = mongo::{anonymous}::OCSPCacheKey; Value = mongo::ReadThroughCache<mongo::{anonymous}::OCSPCacheKey, mongo::{anonymous}::OCSPFetchResponse>::StoredValue]'
src/mongo/util/read_through_cache.h:246:76:   required from 'mongo::SharedSemiFuture<mongo::ReadThroughCache<Key, Value>::ValueHandle> mongo::ReadThroughCache<Key, Value>::acquireAsync(const Key&) [with Key = mongo::{anonymous}::OCSPCacheKey; Value = mongo::{anonymous}::OCSPFetchResponse]'
src/mongo/util/net/ssl_manager_openssl.cpp:1905:58:   required from here
src/mongo/util/lru_cache.h:108:34: warning: redundant move in return statement [-Wredundant-move]
  108 |             return std::move(pair);
      |                                  ^
src/mongo/util/lru_cache.h:108:34: 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/59f4f0dd/mongo/db/auth/authorization_manager_global_parameters_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/auth/authorization_manager_global_parameters_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/third_party/wiredtiger/src/block/block_ext.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/block/block_ext.c
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/stats/single_transaction_stats.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/stats/single_transaction_stats.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/pipeline/expression.h:47,
                 from src/mongo/db/pipeline/accumulator.h:43,
                 from src/mongo/db/pipeline/accumulator_avg.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/geo/hash.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/geo/hash.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/pipeline/lite_parsed_document_source.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/lite_parsed_document_source.cpp
In file included from src/mongo/db/pipeline/accumulator.h:43,
                 from src/mongo/db/pipeline/accumulator_avg.cpp:32:
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionFromAccumulator<mongo::AccumulatorAvg>]':
src/mongo/db/pipeline/accumulator_avg.cpp:46:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
  350 |         return std::move(expr);
      |                              ^
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/libop_observer.a build/59f4f0dd/mongo/db/op_observer.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libop_observer.a
c++ -o build/59f4f0dd/third_party/shim_snappy.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/shim_snappy.cpp
c++ -o build/59f4f0dd/mongo/db/op_observer_util.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/op_observer_util.cpp
In file included from src/mongo/db/pipeline/lite_parsed_pipeline.h:38,
                 from src/mongo/db/pipeline/lite_parsed_document_source.cpp:33:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
Generating build/59f4f0dd/mongo/db/mongod_options_sharding_gen.cpp
Generating build/59f4f0dd/mongo/db/mongod_options_replication_gen.cpp
Generating build/59f4f0dd/mongo/db/mongod_options_general_gen.cpp
c++ -o build/59f4f0dd/mongo/executor/network_interface.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/executor/network_interface.cpp
gcc -o build/59f4f0dd/third_party/wiredtiger/src/block/block_mgr.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/block/block_mgr.c
c++ -o build/59f4f0dd/mongo/db/mongod_options.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/mongod_options.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/db/stats/single_transaction_stats.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/db/stats/single_transaction_stats.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/db/stats/single_transaction_stats.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/repair_database.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repair_database.cpp
c++ -o build/59f4f0dd/mongo/base/global_initializer_registerer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/base/global_initializer_registerer.cpp
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/db/stats/single_transaction_stats.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/repl/repl_set_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/repl_set_command.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/op_observer.h:35,
                 from src/mongo/db/op_observer_util.h:34,
                 from src/mongo/db/op_observer_util.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/op_observer.h:35,
                 from src/mongo/db/op_observer_util.h:34,
                 from src/mongo/db/op_observer_util.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/pipeline/sharded_agg_helpers.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/sharded_agg_helpers.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/op_observer.h:35,
                 from src/mongo/db/op_observer_util.h:34,
                 from src/mongo/db/op_observer_util.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/op_observer.h:35,
                 from src/mongo/db/op_observer_util.h:34,
                 from src/mongo/db/op_observer_util.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/s/collection_sharding_state_factory_standalone.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/collection_sharding_state_factory_standalone.cpp
c++ -o build/59f4f0dd/mongo/rpc/metadata/repl_set_metadata.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/rpc/metadata/repl_set_metadata.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/repl/repl_set_command.h:34,
                 from src/mongo/db/repl/repl_set_command.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/repl/repl_set_command.h:34,
                 from src/mongo/db/repl/repl_set_command.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/repl/repl_set_command.h:34,
                 from src/mongo/db/repl/repl_set_command.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/repl/repl_set_command.h:34,
                 from src/mongo/db/repl/repl_set_command.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/repair_database.cpp:44:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/repair_database.cpp:44:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/repair_database.cpp:44:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/repair_database.cpp:44:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/logv2/bson_formatter.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/logv2/bson_formatter.cpp
In file included from src/mongo/db/matcher/expression_parser.h:37,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/sharded_agg_helpers.h:32,
                 from src/mongo/db/pipeline/sharded_agg_helpers.cpp:33:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/update/storage_validation.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/update/storage_validation.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/sharded_agg_helpers.h:32,
                 from src/mongo/db/pipeline/sharded_agg_helpers.cpp:33:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/sharded_agg_helpers.h:32,
                 from src/mongo/db/pipeline/sharded_agg_helpers.cpp:33:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/expression_with_placeholder.h:37,
                 from src/mongo/db/matcher/expression_parser.h:40,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/sharded_agg_helpers.h:32,
                 from src/mongo/db/pipeline/sharded_agg_helpers.cpp:33:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/bson/util/bson_check.h:34,
                 from src/mongo/rpc/metadata/repl_set_metadata.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/matcher/expression_internal_expr_eq.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/expression_internal_expr_eq.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/bson/util/bson_check.h:34,
                 from src/mongo/rpc/metadata/repl_set_metadata.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/libop_observer_util.a build/59f4f0dd/mongo/db/op_observer_util.o
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libop_observer_util.a
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/bson/util/bson_check.h:34,
                 from src/mongo/rpc/metadata/repl_set_metadata.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/util/fast_clock_source_factory.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/fast_clock_source_factory.cpp
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/bson/util/bson_check.h:34,
                 from src/mongo/rpc/metadata/repl_set_metadata.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/query/stage_builder.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/stage_builder.cpp
Generating build/59f4f0dd/mongo/db/cursor_server_params_gen.cpp
c++ -o build/59f4f0dd/mongo/db/cursor_server_params.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/cursor_server_params.cpp
gcc -o build/59f4f0dd/third_party/wiredtiger/src/lsm/lsm_work_unit.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/lsm/lsm_work_unit.c
c++ -o build/59f4f0dd/mongo/db/auth/auth_decorations.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/auth_decorations.cpp
In file included from src/mongo/db/matcher/expression_internal_expr_eq.h:32,
                 from src/mongo/db/matcher/expression_internal_expr_eq.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_internal_expr_eq.cpp: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalExprEqMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_internal_expr_eq.cpp:66:21: warning: redundant move in return statement [-Wredundant-move]
   66 |     return std::move(clone);
      |            ~~~~~~~~~^~~~~~~
src/mongo/db/matcher/expression_internal_expr_eq.cpp:66:21: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/exec/cached_plan.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/cached_plan.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/query/plan_executor_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/plan_executor_impl.cpp
c++ -o build/59f4f0dd/mongo/db/storage/oplog_hack.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/oplog_hack.cpp
gcc -o build/59f4f0dd/third_party/wiredtiger/src/block/block_compact.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/block/block_compact.c
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/stage_builder.h:32,
                 from src/mongo/db/query/stage_builder.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/exec/requires_all_indices_stage.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/requires_all_indices_stage.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/auth/sasl_mechanism_registry.h:38,
                 from src/mongo/db/auth/authentication_session.h:34,
                 from src/mongo/db/auth/auth_decorations.cpp:35:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/stage_builder.h:34,
                 from src/mongo/db/query/stage_builder.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/stage_builder.h:34,
                 from src/mongo/db/query/stage_builder.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/stage_builder.h:34,
                 from src/mongo/db/query/stage_builder.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from src/mongo/db/auth/sasl_mechanism_registry.h:38,
                 from src/mongo/db/auth/authentication_session.h:34,
                 from src/mongo/db/auth/auth_decorations.cpp:35:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
In file included from src/mongo/db/matcher/expression_parser.h:39,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/sharded_agg_helpers.h:32,
                 from src/mongo/db/pipeline/sharded_agg_helpers.cpp:33:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/auth/sasl_mechanism_registry.h:38,
                 from src/mongo/db/auth/authentication_session.h:34,
                 from src/mongo/db/auth/auth_decorations.cpp:35:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_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/requires_all_indices_stage.h:32,
                 from src/mongo/db/exec/cached_plan.h:35,
                 from src/mongo/db/exec/cached_plan.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
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/auth/sasl_mechanism_registry.h:38,
                 from src/mongo/db/auth/authentication_session.h:34,
                 from src/mongo/db/auth/auth_decorations.cpp:35:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/librepair_database.a build/59f4f0dd/mongo/db/repair_database.o
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/librepair_database.a
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
gcc -o build/59f4f0dd/third_party/libstemmer_c/src_c/stem_UTF_8_finnish.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -fno-strict-overflow -DNDEBUG -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/libstemmer_c/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/libstemmer_c/src_c/stem_UTF_8_finnish.c
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/requires_all_indices_stage.h:32,
                 from src/mongo/db/exec/cached_plan.h:35,
                 from src/mongo/db/exec/cached_plan.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/s/write_ops/cluster_write.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/write_ops/cluster_write.cpp
Generating build/59f4f0dd/mongo/executor/task_executor_pool_parameters_gen.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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/requires_all_indices_stage.h:32,
                 from src/mongo/db/exec/cached_plan.h:35,
                 from src/mongo/db/exec/cached_plan.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/requires_all_indices_stage.h:32,
                 from src/mongo/db/exec/cached_plan.h:35,
                 from src/mongo/db/exec/cached_plan.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/executor/task_executor_pool.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/executor/task_executor_pool.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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/requires_all_indices_stage.h:32,
                 from src/mongo/db/exec/requires_all_indices_stage.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/requires_all_indices_stage.h:32,
                 from src/mongo/db/exec/requires_all_indices_stage.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/requires_all_indices_stage.h:32,
                 from src/mongo/db/exec/requires_all_indices_stage.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/requires_all_indices_stage.h:32,
                 from src/mongo/db/exec/requires_all_indices_stage.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/query/plan_executor_impl.h:35,
                 from src/mongo/db/query/plan_executor_impl.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/query/plan_executor_impl.h:35,
                 from src/mongo/db/query/plan_executor_impl.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/query/plan_executor_impl.h:35,
                 from src/mongo/db/query/plan_executor_impl.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/query/plan_executor_impl.h:35,
                 from src/mongo/db/query/plan_executor_impl.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/executor/task_executor_pool_parameters_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/executor/task_executor_pool_parameters_gen.cpp
c++ -o build/59f4f0dd/mongo/db/repl/optime.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/optime.cpp
c++ -o build/59f4f0dd/mongo/client/sdam/sdam_configuration_parameters_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/client/sdam/sdam_configuration_parameters_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/s/libsharding_api.a build/59f4f0dd/mongo/s/write_ops/cluster_write.o
src/mongo/db/query/plan_executor_impl.cpp: In static member function 'static mongo::StatusWith<std::unique_ptr<mongo::PlanExecutor, mongo::PlanExecutor::Deleter> > mongo::PlanExecutorImpl::make(mongo::OperationContext*, std::unique_ptr<mongo::WorkingSet>, std::unique_ptr<mongo::PlanStage>, std::unique_ptr<mongo::QuerySolution>, std::unique_ptr<mongo::CanonicalQuery>, const boost::intrusive_ptr<mongo::ExpressionContext>&, const mongo::Collection*, mongo::NamespaceString, mongo::PlanExecutor::YieldPolicy)':
src/mongo/db/query/plan_executor_impl.cpp:217:21: warning: redundant move in return statement [-Wredundant-move]
  217 |     return std::move(exec);
      |            ~~~~~~~~~^~~~~~
src/mongo/db/query/plan_executor_impl.cpp:217:21: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/libsharding_api.a
Generating build/59f4f0dd/mongo/s/request_types/shard_collection_gen.cpp
c++ -o build/59f4f0dd/mongo/db/s/sessions_collection_config_server.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/sessions_collection_config_server.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/59f4f0dd/mongo/executor/task_executor_pool_parameters_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_bucket_auto.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_bucket_auto.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/59f4f0dd/mongo/executor/task_executor_pool_parameters_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/executor/task_executor_pool_parameters_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/executor/task_executor_pool_parameters_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/s/request_types/flush_database_cache_updates_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/s/request_types/flush_database_cache_updates_gen.cpp
c++ -o build/59f4f0dd/mongo/s/catalog/type_locks.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/catalog/type_locks.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/59f4f0dd/mongo/client/sdam/sdam_configuration_parameters_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/query/plan_executor_impl.h:35,
                 from src/mongo/db/query/plan_executor_impl.cpp:34:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 build/59f4f0dd/mongo/client/sdam/sdam_configuration_parameters_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_scalbl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_scalbl.c
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/client/sdam/sdam_configuration_parameters_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_quantize.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_quantize.c
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/59f4f0dd/mongo/client/sdam/sdam_configuration_parameters_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/s/sessions_collection_config_server.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
Generating build/59f4f0dd/mongo/transport/transport_options_gen.cpp
c++ -o build/59f4f0dd/mongo/transport/transport_layer_asio.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/transport/transport_layer_asio.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/s/sessions_collection_config_server.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/pipeline/expression.h:47,
                 from src/mongo/db/pipeline/accumulator.h:43,
                 from src/mongo/db/pipeline/accumulation_statement.h:35,
                 from src/mongo/db/pipeline/document_source_bucket_auto.h:32,
                 from src/mongo/db/pipeline/document_source_bucket_auto.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/sessions_collection_config_server.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/sessions_collection_config_server.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/pipeline/document_source.h:45,
                 from src/mongo/db/pipeline/document_source_bucket_auto.h:34,
                 from src/mongo/db/pipeline/document_source_bucket_auto.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
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/59f4f0dd/mongo/s/request_types/flush_database_cache_updates_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/rebuild_indexes.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/rebuild_indexes.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_bucket_auto.h:34,
                 from src/mongo/db/pipeline/document_source_bucket_auto.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/commands/kill_sessions_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/kill_sessions_command.cpp
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_bucket_auto.h:34,
                 from src/mongo/db/pipeline/document_source_bucket_auto.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from build/59f4f0dd/mongo/s/request_types/flush_database_cache_updates_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/s/request_types/flush_database_cache_updates_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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: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/59f4f0dd/mongo/s/request_types/flush_database_cache_updates_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/executor/libtask_executor_pool.a build/59f4f0dd/mongo/executor/task_executor_pool.o build/59f4f0dd/mongo/executor/task_executor_pool_parameters_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/executor/libtask_executor_pool.a
c++ -o build/59f4f0dd/mongo/db/s/config/configsvr_enable_sharding_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/config/configsvr_enable_sharding_command.cpp
ar rcsTD build/59f4f0dd/mongo/client/sdam/libsdam_configuration_parameters.a build/59f4f0dd/mongo/client/sdam/sdam_configuration_parameters_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/client/sdam/libsdam_configuration_parameters.a
c++ -o build/59f4f0dd/mongo/db/commands/cpuload.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/cpuload.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 src/mongo/db/commands/kill_sessions_command.cpp:39:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/rebuild_indexes.cpp:39:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
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/rebuild_indexes.cpp:39:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 src/mongo/db/s/config/configsvr_enable_sharding_command.cpp:41:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/rebuild_indexes.cpp:39:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/rebuild_indexes.cpp:39:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from src/mongo/db/commands/kill_sessions_command.cpp:39:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/concurrency/d_concurrency.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/concurrency/d_concurrency.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/kill_sessions_command.cpp:39:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/kill_sessions_command.cpp:39:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from src/mongo/db/s/config/configsvr_enable_sharding_command.cpp:41:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_enable_sharding_command.cpp:41:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_enable_sharding_command.cpp:41:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/auth/sasl_commands.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/sasl_commands.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/cpuload.cpp:33:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/cpuload.cpp:33:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/cpuload.cpp:33:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/cpuload.cpp:33:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/concurrency/d_concurrency.cpp:40:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/util/duration.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/duration.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/concurrency/d_concurrency.cpp:40:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/catalog/collection_catalog.h:36,
                 from src/mongo/db/concurrency/d_concurrency.cpp:40:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/concurrency/d_concurrency.cpp:40:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/auth/sasl_mechanism_registry.h:38,
                 from src/mongo/db/auth/authentication_session.h:34,
                 from src/mongo/db/auth/sasl_commands.cpp:45:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/storage/devnull/devnull_init.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/devnull/devnull_init.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/auth/sasl_mechanism_registry.h:38,
                 from src/mongo/db/auth/authentication_session.h:34,
                 from src/mongo/db/auth/sasl_commands.cpp:45:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/query/hint_parser.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/hint_parser.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/auth/sasl_mechanism_registry.h:38,
                 from src/mongo/db/auth/authentication_session.h:34,
                 from src/mongo/db/auth/sasl_commands.cpp:45:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_list_sessions.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_list_sessions.cpp
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/format_parser.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/log/src/format_parser.cpp
gcc -o build/59f4f0dd/third_party/wiredtiger/src/os_posix/os_priv.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/os_posix/os_priv.c
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/auth/sasl_mechanism_registry.h:38,
                 from src/mongo/db/auth/authentication_session.h:34,
                 from src/mongo/db/auth/sasl_commands.cpp:45:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Generating build/59f4f0dd/mongo/s/request_types/move_primary_gen.cpp
c++ -o build/59f4f0dd/mongo/db/s/active_move_primaries_registry.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/active_move_primaries_registry.cpp
src/mongo/db/auth/sasl_commands.cpp: In function 'mongo::StatusWith<std::unique_ptr<mongo::AuthenticationSession> > mongo::{anonymous}::doSaslStart(mongo::OperationContext*, const string&, const mongo::BSONObj&, mongo::BSONObjBuilder*, std::string*, bool)':
src/mongo/db/auth/sasl_commands.cpp:304:21: warning: redundant move in return statement [-Wredundant-move]
  304 |     return std::move(session);
      |            ~~~~~~~~~^~~~~~~~~
src/mongo/db/auth/sasl_commands.cpp:304:21: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/storage/durable_catalog_impl.h:37,
                 from src/mongo/db/storage/durable_catalog_feature_tracker.h:36,
                 from src/mongo/db/storage/storage_engine_impl.h:42,
                 from src/mongo/db/storage/devnull/devnull_init.cpp:35:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/auth/user_name.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/user_name.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/storage/durable_catalog_impl.h:37,
                 from src/mongo/db/storage/durable_catalog_feature_tracker.h:36,
                 from src/mongo/db/storage/storage_engine_impl.h:42,
                 from src/mongo/db/storage/devnull/devnull_init.cpp:35:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/crypto/sha256_block.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/crypto/sha256_block.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/storage/durable_catalog_impl.h:37,
                 from src/mongo/db/storage/durable_catalog_feature_tracker.h:36,
                 from src/mongo/db/storage/storage_engine_impl.h:42,
                 from src/mongo/db/storage/devnull/devnull_init.cpp:35:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/storage/durable_catalog_impl.h:37,
                 from src/mongo/db/storage/durable_catalog_feature_tracker.h:36,
                 from src/mongo/db/storage/storage_engine_impl.h:42,
                 from src/mongo/db/storage/devnull/devnull_init.cpp:35:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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:37,
                 from src/mongo/db/pipeline/document_source_list_sessions.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/auth/sasl_mechanism_registry.h:38,
                 from src/mongo/db/auth/authentication_session.h:34,
                 from src/mongo/db/auth/sasl_commands.cpp:45:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/pipeline/document_source_list_sessions.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/pipeline/document_source_list_sessions.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/pipeline/document_source_list_sessions.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/transaction_history_iterator.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/transaction_history_iterator.cpp
c++ -o build/59f4f0dd/mongo/db/repl/scatter_gather_runner.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/scatter_gather_runner.cpp
c++ -o build/59f4f0dd/mongo/db/cursor_manager.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/cursor_manager.cpp
c++ -o build/59f4f0dd/mongo/db/s/sharding_statistics.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/sharding_statistics.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/command_can_run_here.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/command_can_run_here.cpp
In file included from src/mongo/db/matcher/expression_parser.h:39,
                 from src/mongo/db/pipeline/document_source_list_sessions.cpp:34:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/storage/devnull/libstorage_devnull.a build/59f4f0dd/mongo/db/storage/devnull/devnull_init.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/devnull/libstorage_devnull.a
c++ -o build/59f4f0dd/mongo/db/auth/authz_manager_external_state.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/authz_manager_external_state.cpp
Generating build/59f4f0dd/mongo/db/auth/authorization_manager_impl_parameters_gen.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/database_holder.h:36,
                 from src/mongo/db/transaction_history_iterator.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/auth/authorization_manager_impl_parameters_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/auth/authorization_manager_impl_parameters_gen.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/transaction_history_iterator.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/auth/authorization_session_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/authorization_session_impl.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/cursor_manager.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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: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/transaction_history_iterator.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574: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/transaction_history_iterator.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/cursor_manager.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/auth/authorization_manager_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/authorization_manager_impl.cpp
c++ -o build/59f4f0dd/mongo/db/exec/delete.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/delete.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/cursor_manager.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/cursor_manager.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/command_can_run_here.h:34,
                 from src/mongo/db/command_can_run_here.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/command_can_run_here.h:34,
                 from src/mongo/db/command_can_run_here.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/command_can_run_here.h:34,
                 from src/mongo/db/command_can_run_here.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/command_can_run_here.h:34,
                 from src/mongo/db/command_can_run_here.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/db/auth/authorization_manager_impl_parameters_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/s/active_shard_collection_registry.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/active_shard_collection_registry.cpp
In file included from src/mongo/db/auth/authorization_session_impl.cpp:54:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/auth/authorization_manager_impl_parameters_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/auth/authorization_manager_impl_parameters_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/auth/authorization_manager_impl_parameters_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/delete.h:32,
                 from src/mongo/db/exec/delete.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/delete.h:32,
                 from src/mongo/db/exec/delete.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/delete.h:32,
                 from src/mongo/db/exec/delete.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
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/delete.h:32,
                 from src/mongo/db/exec/delete.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/s/active_shard_collection_registry.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
In file included from src/mongo/db/auth/user.h:45,
                 from src/mongo/db/auth/authorization_manager.h:41,
                 from src/mongo/db/auth/authorization_manager_impl.h:32,
                 from src/mongo/db/auth/authorization_manager_impl.cpp:34:
src/mongo/util/read_through_cache.h: In instantiation of 'mongo::Future<Value> mongo::ReadThroughCache<Key, Value>::_asyncLookupWhileInvalidated(std::unique_lock<mongo::latch_detail::Mutex>, mongo::ReadThroughCache<Key, Value>::InProgressLookup&) [with Key = int; Value = int]':
src/mongo/util/read_through_cache.h:234:24:   required from 'mongo::SharedSemiFuture<mongo::ReadThroughCache<Key, Value>::ValueHandle> mongo::ReadThroughCache<Key, Value>::acquireAsync(const Key&) [with Key = int; Value = int]'
src/mongo/util/read_through_cache.h:273:16:   required from 'mongo::ReadThroughCache<Key, Value>::ValueHandle mongo::ReadThroughCache<Key, Value>::acquire(mongo::OperationContext*, const Key&) [with Key = int; Value = int]'
src/mongo/db/auth/authorization_manager_impl.cpp:378:57:   required from here
src/mongo/util/read_through_cache.h:435:32: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
  435 |         return std::move(future);
      |                                ^
src/mongo/util/read_through_cache.h:435:32: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/util/read_through_cache.h: In instantiation of 'mongo::Future<Value> mongo::ReadThroughCache<Key, Value>::_asyncLookupWhileInvalidated(std::unique_lock<mongo::latch_detail::Mutex>, mongo::ReadThroughCache<Key, Value>::InProgressLookup&) [with Key = mongo::UserRequest; Value = mongo::User]':
src/mongo/util/read_through_cache.h:234:24:   required from 'mongo::SharedSemiFuture<mongo::ReadThroughCache<Key, Value>::ValueHandle> mongo::ReadThroughCache<Key, Value>::acquireAsync(const Key&) [with Key = mongo::UserRequest; Value = mongo::User]'
src/mongo/util/read_through_cache.h:273:16:   required from 'mongo::ReadThroughCache<Key, Value>::ValueHandle mongo::ReadThroughCache<Key, Value>::acquire(mongo::OperationContext*, const Key&) [with Key = mongo::UserRequest; Value = mongo::User]'
src/mongo/db/auth/authorization_manager_impl.cpp:469:56:   required from here
src/mongo/util/read_through_cache.h:435:32: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
src/mongo/util/read_through_cache.h:435:32: 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/s/active_shard_collection_registry.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/libcommand_can_run_here.a build/59f4f0dd/mongo/db/command_can_run_here.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libcommand_can_run_here.a
c++ -o build/59f4f0dd/mongo/base/string_data.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/base/string_data.cpp
In file included from src/mongo/util/invalidating_lru_cache.h:38,
                 from src/mongo/util/read_through_cache.h:40,
                 from src/mongo/db/auth/user.h:45,
                 from src/mongo/db/auth/authorization_manager.h:41,
                 from src/mongo/db/auth/authorization_manager_impl.h:32,
                 from src/mongo/db/auth/authorization_manager_impl.cpp:34:
src/mongo/util/lru_cache.h: In instantiation of 'boost::optional<std::pair<_T1, _T2> > mongo::LRUCache<K, V, Hash, KeyEqual>::add(const K&, V) [with K = int; V = std::shared_ptr<mongo::InvalidatingLRUCache<int, mongo::ReadThroughCache<int, int>::StoredValue>::StoredValue>; Hash = absl::hash_internal::Hash<int>; KeyEqual = std::equal_to<int>]':
src/mongo/util/invalidating_lru_cache.h:232:38:   required from 'mongo::InvalidatingLRUCache<Key, Value>::ValueHandle mongo::InvalidatingLRUCache<Key, Value>::insertOrAssignAndGet(const Key&, Value&&) [with Key = int; Value = mongo::ReadThroughCache<int, int>::StoredValue]'
src/mongo/util/read_through_cache.h:246:76:   required from 'mongo::SharedSemiFuture<mongo::ReadThroughCache<Key, Value>::ValueHandle> mongo::ReadThroughCache<Key, Value>::acquireAsync(const Key&) [with Key = int; Value = int]'
src/mongo/util/read_through_cache.h:273:16:   required from 'mongo::ReadThroughCache<Key, Value>::ValueHandle mongo::ReadThroughCache<Key, Value>::acquire(mongo::OperationContext*, const Key&) [with Key = int; Value = int]'
src/mongo/db/auth/authorization_manager_impl.cpp:378:57:   required from here
src/mongo/util/lru_cache.h:108:34: warning: redundant move in return statement [-Wredundant-move]
  108 |             return std::move(pair);
      |                                  ^
src/mongo/util/lru_cache.h:108:34: note: remove 'std::move' call
src/mongo/util/lru_cache.h: In instantiation of 'boost::optional<std::pair<_T1, _T2> > mongo::LRUCache<K, V, Hash, KeyEqual>::add(const K&, V) [with K = mongo::UserRequest; V = std::shared_ptr<mongo::InvalidatingLRUCache<mongo::UserRequest, mongo::ReadThroughCache<mongo::UserRequest, mongo::User>::StoredValue>::StoredValue>; Hash = absl::hash_internal::Hash<mongo::UserRequest>; KeyEqual = std::equal_to<mongo::UserRequest>]':
src/mongo/util/invalidating_lru_cache.h:232:38:   required from 'mongo::InvalidatingLRUCache<Key, Value>::ValueHandle mongo::InvalidatingLRUCache<Key, Value>::insertOrAssignAndGet(const Key&, Value&&) [with Key = mongo::UserRequest; Value = mongo::ReadThroughCache<mongo::UserRequest, mongo::User>::StoredValue]'
src/mongo/util/read_through_cache.h:246:76:   required from 'mongo::SharedSemiFuture<mongo::ReadThroughCache<Key, Value>::ValueHandle> mongo::ReadThroughCache<Key, Value>::acquireAsync(const Key&) [with Key = mongo::UserRequest; Value = mongo::User]'
src/mongo/util/read_through_cache.h:273:16:   required from 'mongo::ReadThroughCache<Key, Value>::ValueHandle mongo::ReadThroughCache<Key, Value>::acquire(mongo::OperationContext*, const Key&) [with Key = mongo::UserRequest; Value = mongo::User]'
src/mongo/db/auth/authorization_manager_impl.cpp:469:56:   required from here
src/mongo/util/lru_cache.h:108:34: warning: redundant move in return statement [-Wredundant-move]
src/mongo/util/lru_cache.h:108:34: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/ftdc/ftdc_system_stats_netbsd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/ftdc/ftdc_system_stats_netbsd.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_raii.h:33,
                 from src/mongo/db/s/active_shard_collection_registry.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/s/active_shard_collection_registry.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/executor/connection_pool.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/executor/connection_pool.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_exp.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_exp.c
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/thread/src/pthread/thread.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_THREAD_BUILD_LIB -DBOOST_THREAD_PTHREAD -Isrc/third_party/boost-1.70.0 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/thread/src/pthread/thread.cpp
c++ -o build/59f4f0dd/mongo/db/storage/devnull/devnull_kv_engine.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/devnull/devnull_kv_engine.cpp
c++ -o build/59f4f0dd/mongo/db/storage/storage_init.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/storage_init.cpp
c++ -o build/59f4f0dd/mongo/base/data_type.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/base/data_type.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/libsessions_collection_rs.a build/59f4f0dd/mongo/db/sessions_collection_rs.o
In file included from src/mongo/executor/connection_pool.cpp:48:
src/mongo/util/lru_cache.h: In instantiation of 'boost::optional<std::pair<_T1, _T2> > mongo::LRUCache<K, V, Hash, KeyEqual>::add(const K&, V) [with K = mongo::executor::ConnectionPool::ConnectionInterface*; V = std::shared_ptr<mongo::executor::ConnectionPool::ConnectionInterface>; Hash = absl::container_internal::HashEq<mongo::executor::ConnectionPool::ConnectionInterface*, void>::Hash; KeyEqual = absl::container_internal::HashEq<mongo::executor::ConnectionPool::ConnectionInterface*, void>::Eq]':
src/mongo/executor/connection_pool.cpp:861:44:   required from here
src/mongo/util/lru_cache.h:108:34: warning: redundant move in return statement [-Wredundant-move]
  108 |             return std::move(pair);
      |                                  ^
src/mongo/util/lru_cache.h:108:34: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libsessions_collection_rs.a
c++ -o build/59f4f0dd/mongo/db/index/s2_common.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/index/s2_common.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/storage_init.cpp:33:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/storage_init.cpp:33:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/auth/libauth_impl_internal.a build/59f4f0dd/mongo/db/auth/authorization_manager_impl.o build/59f4f0dd/mongo/db/auth/authorization_session_impl.o build/59f4f0dd/mongo/db/auth/authz_manager_external_state.o build/59f4f0dd/mongo/db/auth/authz_session_external_state.o build/59f4f0dd/mongo/db/auth/user_set.o build/59f4f0dd/mongo/db/auth/authorization_manager_impl_parameters_gen.o
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/storage_init.cpp:33:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/server_status.h:32,
                 from src/mongo/db/storage/storage_init.cpp:33:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/auth/libauth_impl_internal.a
c++ -o build/59f4f0dd/mongo/db/index/expression_params.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/index/expression_params.cpp
c++ -o build/59f4f0dd/mongo/db/update/update_leaf_node.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/update/update_leaf_node.cpp
c++ -o build/59f4f0dd/mongo/db/repl/multiapplier.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/multiapplier.cpp
c++ -o build/59f4f0dd/mongo/db/query/datetime/date_time_support.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/datetime/date_time_support.cpp
c++ -o build/59f4f0dd/mongo/s/shard_key_pattern.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/shard_key_pattern.cpp
c++ -o build/59f4f0dd/mongo/util/background.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/background.cpp
In file included from src/mongo/db/pipeline/expression_context.h:44,
                 from src/mongo/db/update/update_leaf_node.h:32,
                 from src/mongo/db/update/update_leaf_node.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/index/libexpression_params.a build/59f4f0dd/mongo/db/index/expression_params.o build/59f4f0dd/mongo/db/index/s2_common.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/index/libexpression_params.a
c++ -o build/59f4f0dd/mongo/scripting/scripting_server.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/scripting_server.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/scripting/libscripting_server.a build/59f4f0dd/mongo/scripting/scripting_server.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/scripting/libscripting_server.a
c++ -o build/59f4f0dd/mongo/db/repl/replication_coordinator_external_state_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/replication_coordinator_external_state_impl.cpp
c++ -o build/59f4f0dd/mongo/db/commands/current_op_common.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/current_op_common.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/s/shard_key_pattern.cpp:41:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/executor/libconnection_pool_executor.a build/59f4f0dd/mongo/executor/connection_pool.o
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/shard_key_pattern.cpp:41:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/executor/libconnection_pool_executor.a
c++ -o build/59f4f0dd/mongo/db/baton.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/baton.cpp
gcc -o build/59f4f0dd/third_party/wiredtiger/src/support/scratch.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/support/scratch.c
c++ -o build/59f4f0dd/mongo/db/keys_collection_document.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/keys_collection_document.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/s/shard_key_pattern.cpp:43:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/s/range_deletion_util.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/range_deletion_util.cpp
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/shard_key_pattern.cpp:43:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/util/libbackground_job.a build/59f4f0dd/mongo/util/background.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/libbackground_job.a
c++ -o build/59f4f0dd/mongo/rpc/message.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/rpc/message.cpp
c++ -o build/59f4f0dd/mongo/s/sharding_egress_metadata_hook.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/sharding_egress_metadata_hook.cpp
Generating build/59f4f0dd/mongo/db/auth/sasl_options_gen.cpp
c++ -o build/59f4f0dd/mongo/db/auth/sasl_options.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/sasl_options.cpp
c++ -o build/59f4f0dd/mongo/scripting/mozjs/PosixNSPR.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/PosixNSPR.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/current_op_common.h:32,
                 from src/mongo/db/commands/current_op_common.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
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/current_op_common.h:32,
                 from src/mongo/db/commands/current_op_common.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/current_op_common.h:32,
                 from src/mongo/db/commands/current_op_common.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/current_op_common.h:32,
                 from src/mongo/db/commands/current_op_common.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/replication_coordinator_external_state_impl.h:35,
                 from src/mongo/db/repl/replication_coordinator_external_state_impl.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/timestamp.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/log/src/timestamp.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/replication_coordinator_external_state_impl.h:35,
                 from src/mongo/db/repl/replication_coordinator_external_state_impl.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/s/range_deletion_util.cpp:42:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/logical_time_metadata_hook.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/logical_time_metadata_hook.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_raii.h:33,
                 from src/mongo/db/s/range_deletion_util.cpp:42:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/replication_coordinator_external_state_impl.h:35,
                 from src/mongo/db/repl/replication_coordinator_external_state_impl.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/replication_coordinator_external_state_impl.h:35,
                 from src/mongo/db/repl/replication_coordinator_external_state_impl.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_raii.h:33,
                 from src/mongo/db/s/range_deletion_util.cpp:42:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/repl/rs_rollback.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/rs_rollback.cpp
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/s/range_deletion_util.cpp:42:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/auth/libsasl_options.a build/59f4f0dd/mongo/db/auth/sasl_options.o
c++ -o build/59f4f0dd/mongo/rpc/legacy_request_builder.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/rpc/legacy_request_builder.cpp
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/auth/libsasl_options.a
c++ -o build/59f4f0dd/mongo/db/commands/getmore_cmd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/getmore_cmd.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/commands/lock_info.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/lock_info.cpp
ar rcsTD build/59f4f0dd/mongo/db/liblogical_time_metadata_hook.a build/59f4f0dd/mongo/db/logical_time_metadata_hook.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/liblogical_time_metadata_hook.a
c++ -o build/59f4f0dd/mongo/db/commands/drop_indexes.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/drop_indexes.cpp
c++ -o build/59f4f0dd/mongo/db/commands/list_indexes.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/list_indexes.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/repl/rs_rollback.cpp:42:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/commands/getmore_cmd.cpp:39:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/repl/rs_rollback.cpp:42:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/getmore_cmd.cpp:39:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/repl/rs_rollback.cpp:42:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/repl/rs_rollback.cpp:42:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/commands/getmore_cmd.cpp:39:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/getmore_cmd.cpp:39:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/commands/lock_info.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/lock_info.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/lock_info.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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: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/lock_info.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/commands/get_last_error.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/get_last_error.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/commands/list_indexes.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/commands/list_indexes.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/commands/list_indexes.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/list_indexes.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
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/drop_indexes.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/drop_indexes.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 src/mongo/db/commands/get_last_error.cpp:36:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/drop_indexes.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/drop_indexes.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Generating build/59f4f0dd/mongo/db/commands/create_gen.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/commands/get_last_error.cpp:36:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/commands/write_commands/write_commands.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/write_commands/write_commands.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/commands/create_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/commands/create_gen.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/get_last_error.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/get_last_error.cpp:36:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/commands/create_indexes.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/create_indexes.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/commands/list_databases.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/list_databases.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/commands/create_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/commands/run_aggregate.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/run_aggregate.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/59f4f0dd/mongo/db/commands/create_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/commands/create_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/commands/create_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/commands/write_commands/write_commands.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/commands/create_indexes.cpp:40:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/commands/list_databases.cpp:33:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
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/commands/write_commands/write_commands.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/create_indexes.cpp:40:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/commands/list_databases.cpp:33:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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_raii.h:33,
                 from src/mongo/db/commands/list_databases.cpp:33:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/catalog/collection.h:48,
                 from src/mongo/db/commands/create_indexes.cpp:40:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/create_indexes.cpp:40:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Generating build/59f4f0dd/mongo/db/commands_in_multi_doc_txn_params_gen.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/database_holder.h:36,
                 from src/mongo/db/commands/write_commands/write_commands.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_raii.h:33,
                 from src/mongo/db/commands/list_databases.cpp:33:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/write_commands/write_commands.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/commands/find_and_modify.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/find_and_modify.cpp
In file included from src/mongo/db/commands/run_aggregate.h:37,
                 from src/mongo/db/commands/run_aggregate.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/commands/run_aggregate.cpp:41:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
Generating build/59f4f0dd/mongo/db/commands/http_client_gen.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/commands/http_client_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/commands/http_client_gen.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/database.h:38,
                 from src/mongo/db/commands/run_aggregate.cpp:41:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/run_aggregate.cpp:41:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/commands/plan_cache_commands.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/plan_cache_commands.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/commands/whats_my_sni_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/whats_my_sni_command.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/59f4f0dd/mongo/db/commands/http_client_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/commands/plan_cache_commands.h:34,
                 from src/mongo/db/commands/plan_cache_commands.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
Generating build/59f4f0dd/mongo/db/commands/kill_operations_gen.cpp
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/commands/plan_cache_commands.h:34,
                 from src/mongo/db/commands/plan_cache_commands.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/commands/killoperations_cmd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/killoperations_cmd.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
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/59f4f0dd/mongo/db/commands/http_client_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/commands/http_client_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/plan_cache_commands.h:34,
                 from src/mongo/db/commands/plan_cache_commands.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from build/59f4f0dd/mongo/db/commands/http_client_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/plan_cache_commands.h:34,
                 from src/mongo/db/commands/plan_cache_commands.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/commands/find_and_modify.cpp:39:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/find_and_modify.cpp:39:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/commands/find_and_modify.cpp:39:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/find_and_modify.cpp:39:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/commands/dbcommands.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/dbcommands.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/whats_my_sni_command.cpp:30:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 src/mongo/db/commands/killoperations_common.h:43,
                 from src/mongo/db/commands/killoperations_cmd.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/whats_my_sni_command.cpp:30:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/commands/http_client.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/http_client.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/whats_my_sni_command.cpp:30:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/whats_my_sni_command.cpp:30:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from src/mongo/db/commands/killoperations_common.h:43,
                 from src/mongo/db/commands/killoperations_cmd.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/killoperations_common.h:43,
                 from src/mongo/db/commands/killoperations_cmd.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/killoperations_common.h:43,
                 from src/mongo/db/commands/killoperations_cmd.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/commands/kill_op.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/kill_op.cpp
c++ -o build/59f4f0dd/mongo/db/commands/count_cmd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/count_cmd.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
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/http_client.cpp:35:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/commands/plan_cache_clear_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/plan_cache_clear_command.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/commands/http_client.cpp:35:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574: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/commands/dbcommands.cpp:50:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
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/http_client.cpp:35:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/http_client.cpp:35:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/commands/kill_op.cpp:42:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/commands/dbcommands.cpp:50:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/commands/kill_op.cpp:42:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
Generating build/59f4f0dd/mongo/db/stats/read_concern_stats_gen.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/catalog/create_collection.h:34,
                 from src/mongo/db/commands/dbcommands.cpp:50:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616: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/commands/dbcommands.cpp:50:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/kill_op.cpp:42:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/commands/find_cmd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/find_cmd.cpp
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/kill_op.cpp:42:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/commands/sleep_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/sleep_command.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/count_cmd.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/plan_cache_clear_command.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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/count_cmd.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574: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/count_cmd.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/commands/count_cmd.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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/plan_cache_clear_command.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/commands/plan_cache_clear_command.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/commands/current_op.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/current_op.cpp
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/plan_cache_clear_command.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/clientcursor.h:40,
                 from src/mongo/db/commands/find_cmd.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/commands/find_cmd.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/commands/sleep_command.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/commands/list_collections.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/list_collections.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/commands/find_cmd.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/find_cmd.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from src/mongo/db/commands/sleep_command.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/sleep_command.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/sleep_command.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/commands/distinct.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/distinct.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/current_op_common.h:32,
                 from src/mongo/db/commands/current_op.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/current_op_common.h:32,
                 from src/mongo/db/commands/current_op.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/current_op_common.h:32,
                 from src/mongo/db/commands/current_op.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/current_op_common.h:32,
                 from src/mongo/db/commands/current_op.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/commands/validate.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/validate.cpp
Generating build/59f4f0dd/mongo/db/pipeline/map_reduce_options_gen.cpp
ar rcsTD build/59f4f0dd/mongo/db/catalog/libindex_key_validate.a build/59f4f0dd/mongo/db/catalog/index_key_validate.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/catalog/libindex_key_validate.a
gcc -o build/59f4f0dd/third_party/libstemmer_c/src_c/stem_UTF_8_portuguese.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -fno-strict-overflow -DNDEBUG -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/libstemmer_c/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/libstemmer_c/src_c/stem_UTF_8_portuguese.c
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/list_collections.cpp:41:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/pipeline/accumulator_js_reduce.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/accumulator_js_reduce.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/list_collections.cpp:41:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/util/periodic_runner_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/periodic_runner_impl.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/commands/list_collections.cpp:41:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/list_collections.cpp:41:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/idl/server_parameter.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/idl/server_parameter.cpp
Generating build/59f4f0dd/mongo/db/s/transaction_coordinators_stats_gen.cpp
c++ -o build/59f4f0dd/mongo/db/s/server_transaction_coordinators_metrics.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/server_transaction_coordinators_metrics.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/validate.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/validate.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/validate.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/validate.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/catalog/collection_catalog.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/collection_catalog.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/commands/distinct.cpp:41:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/util/libperiodic_runner_impl.a build/59f4f0dd/mongo/util/periodic_runner_impl.o
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/commands/distinct.cpp:41:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/libperiodic_runner_impl.a
c++ -o build/59f4f0dd/mongo/db/catalog/uncommitted_collections.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/uncommitted_collections.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/accumulation_statement.h:35,
                 from src/mongo/db/pipeline/accumulator_js_reduce.h:35,
                 from src/mongo/db/pipeline/accumulator_js_reduce.cpp:33:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/s/split_chunk.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/split_chunk.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/commands/distinct.cpp:41:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/distinct.cpp:41:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/commands/server_status.h:32,
                 from src/mongo/db/s/server_transaction_coordinators_metrics.h:32,
                 from src/mongo/db/s/server_transaction_coordinators_metrics.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/s/server_transaction_coordinators_metrics.h:32,
                 from src/mongo/db/s/server_transaction_coordinators_metrics.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/server_transaction_coordinators_metrics.h:32,
                 from src/mongo/db/s/server_transaction_coordinators_metrics.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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: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/s/server_transaction_coordinators_metrics.h:32,
                 from src/mongo/db/s/server_transaction_coordinators_metrics.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/collection_catalog.cpp:33:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/uncommitted_collections.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
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/collection_catalog.cpp:33:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/uncommitted_collections.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/catalog/collection_catalog.cpp:33:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/collection_catalog.cpp:33:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/catalog/uncommitted_collections.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/uncommitted_collections.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/s/split_chunk.cpp:39:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_raii.h:33,
                 from src/mongo/db/s/split_chunk.cpp:39:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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_raii.h:33,
                 from src/mongo/db/s/split_chunk.cpp:39:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/s/split_chunk.cpp:39:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/scripting/mozjs/implscope.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/implscope.cpp
c++ -o build/59f4f0dd/mongo/db/exec/or.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/or.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/util/thread_safety_context.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/thread_safety_context.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cos.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cos.c
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cos.c: In function '__bid128_cos':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cos.c:12499:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
12499 |   if (e < -35)
      |      ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cos.c:12432:7: warning: unused variable 'i' [-Wunused-variable]
12432 |   int i, s, e;
      |       ^
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atanh.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atanh.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/config/config_def.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/config/config_def.c
c++ -o build/59f4f0dd/mongo/s/catalog/type_lockpings.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/catalog/type_lockpings.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/s/periodic_sharded_index_consistency_checker.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/periodic_sharded_index_consistency_checker.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/exec/or.h:32,
                 from src/mongo/db/exec/or.cpp:30:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/exec/sort_executor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/sort_executor.cpp
c++ -o build/59f4f0dd/mongo/db/index/s2_access_method.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/index/s2_access_method.cpp
ar rcsTD build/59f4f0dd/mongo/db/commands/libstandalone.a build/59f4f0dd/mongo/db/commands/count_cmd.o build/59f4f0dd/mongo/db/commands/create_indexes.o build/59f4f0dd/mongo/db/commands/current_op.o build/59f4f0dd/mongo/db/commands/dbcommands.o build/59f4f0dd/mongo/db/commands/distinct.o build/59f4f0dd/mongo/db/commands/drop_indexes.o build/59f4f0dd/mongo/db/commands/explain_cmd.o build/59f4f0dd/mongo/db/commands/find_and_modify.o build/59f4f0dd/mongo/db/commands/find_cmd.o build/59f4f0dd/mongo/db/commands/get_last_error.o build/59f4f0dd/mongo/db/commands/getmore_cmd.o build/59f4f0dd/mongo/db/commands/http_client.o build/59f4f0dd/mongo/db/commands/http_client_gen.o build/59f4f0dd/mongo/db/commands/index_filter_commands.o build/59f4f0dd/mongo/db/commands/kill_op.o build/59f4f0dd/mongo/db/commands/killcursors_cmd.o build/59f4f0dd/mongo/db/commands/killoperations_cmd.o build/59f4f0dd/mongo/db/commands/lock_info.o build/59f4f0dd/mongo/db/commands/list_collections.o build/59f4f0dd/mongo/db/commands/list_databases.o build/59f4f0dd/mongo/db/commands/list_indexes.o build/59f4f0dd/mongo/db/commands/pipeline_command.o build/59f4f0dd/mongo/db/commands/plan_cache_clear_command.o build/59f4f0dd/mongo/db/commands/plan_cache_commands.o build/59f4f0dd/mongo/db/commands/rename_collection_cmd.o build/59f4f0dd/mongo/db/commands/run_aggregate.o build/59f4f0dd/mongo/db/commands/sleep_command.o build/59f4f0dd/mongo/db/commands/validate.o build/59f4f0dd/mongo/db/commands/whats_my_sni_command.o build/59f4f0dd/mongo/db/commands/write_commands/write_commands.o build/59f4f0dd/mongo/db/commands/create_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/commands/libstandalone.a
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cbrt.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cbrt.c
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cbrt.c: In function '__bid128_cbrt':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cbrt.c:37:23: warning: unused variable 'yq' [-Wunused-variable]
   37 | BID_F128_TYPE rq, xq, yq;
      |                       ^~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cbrt.c:36:38: warning: unused variable 'exponent_res' [-Wunused-variable]
   36 | int exponent_x, exponent_y, cmp_res, exponent_res, k, j, iexpon;
      |                                      ^~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cbrt.c:36:29: warning: unused variable 'cmp_res' [-Wunused-variable]
   36 | int exponent_x, exponent_y, cmp_res, exponent_res, k, j, iexpon;
      |                             ^~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cbrt.c:36:17: warning: unused variable 'exponent_y' [-Wunused-variable]
   36 | int exponent_x, exponent_y, cmp_res, exponent_res, k, j, iexpon;
      |                 ^~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cbrt.c:34:31: warning: unused variable 'coeff_res' [-Wunused-variable]
   34 | BID_UINT128 CX, xn, res, tmp, coeff_res;
      |                               ^~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cbrt.c:34:17: warning: unused variable 'xn' [-Wunused-variable]
   34 | BID_UINT128 CX, xn, res, tmp, coeff_res;
      |                 ^~
c++ -o build/59f4f0dd/mongo/transport/service_executor_adaptive.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/transport/service_executor_adaptive.cpp
c++ -o build/59f4f0dd/mongo/transport/service_executor_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/transport/service_executor_gen.cpp
ar rcsTD build/59f4f0dd/mongo/db/catalog/libcollection_catalog.a build/59f4f0dd/mongo/db/catalog/collection_catalog.o build/59f4f0dd/mongo/db/catalog/uncommitted_collections.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/catalog/libcollection_catalog.a
c++ -o build/59f4f0dd/mongo/transport/service_executor_reserved.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/transport/service_executor_reserved.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_pow.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_pow.c
c++ -o build/59f4f0dd/mongo/db/s/balancer/migration_manager.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/balancer/migration_manager.cpp
In file included from src/mongo/db/pipeline/expression_context.h:44,
                 from src/mongo/db/pipeline/document_path_support.h:38,
                 from src/mongo/db/query/sort_pattern.h:34,
                 from src/mongo/db/exec/sort_key_comparator.h:35,
                 from src/mongo/db/exec/sort_executor.h:34,
                 from src/mongo/db/exec/sort_executor.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/s/periodic_sharded_index_consistency_checker.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_rem.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_rem.c
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/periodic_sharded_index_consistency_checker.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/exec/text_match.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/text_match.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/curop.h:35,
                 from src/mongo/db/s/periodic_sharded_index_consistency_checker.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/s/periodic_sharded_index_consistency_checker.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/transport/service_executor_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/transport/service_executor_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/transport/service_executor_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/transport/service_executor_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/storage/write_unit_of_work.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/write_unit_of_work.cpp
gcc -o build/59f4f0dd/third_party/wiredtiger/src/checksum/x86/crc32-x86.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/checksum/x86/crc32-x86.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/checksum/software/checksum.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/checksum/software/checksum.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/checksum/x86/crc32-x86-alt.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/checksum/x86/crc32-x86-alt.c
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/text_match.h:34,
                 from src/mongo/db/exec/text_match.cpp:30:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/third_party/wiredtiger/libwiredtiger_checksum.a build/59f4f0dd/third_party/wiredtiger/src/checksum/software/checksum.o build/59f4f0dd/third_party/wiredtiger/src/checksum/x86/crc32-x86.o build/59f4f0dd/third_party/wiredtiger/src/checksum/x86/crc32-x86-alt.o
Skipping ranlib for thin archive build/59f4f0dd/third_party/wiredtiger/libwiredtiger_checksum.a
c++ -o build/59f4f0dd/mongo/db/read_write_concern_defaults.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/read_write_concern_defaults.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/repl/split_horizon.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/split_horizon.cpp
ar rcsTD build/59f4f0dd/mongo/transport/libservice_executor.a build/59f4f0dd/mongo/transport/service_executor_adaptive.o build/59f4f0dd/mongo/transport/service_executor_reserved.o build/59f4f0dd/mongo/transport/service_executor_synchronous.o build/59f4f0dd/mongo/transport/service_executor_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/transport/libservice_executor.a
ar rcsTD build/59f4f0dd/mongo/executor/libnetwork_interface.a build/59f4f0dd/mongo/executor/network_interface.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/executor/libnetwork_interface.a
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/sqrt_tab_t.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/sqrt_tab_t.c
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/index/duplicate_key_tracker.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/index/duplicate_key_tracker.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/pipeline/semantic_analysis.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/semantic_analysis.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/uncommitted_collections.h:37,
                 from src/mongo/db/storage/write_unit_of_work.cpp:36:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/uncommitted_collections.h:37,
                 from src/mongo/db/storage/write_unit_of_work.cpp:36:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/uncommitted_collections.h:37,
                 from src/mongo/db/storage/write_unit_of_work.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/uncommitted_collections.h:37,
                 from src/mongo/db/storage/write_unit_of_work.cpp:36:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/s/sharding_task_executor_pool_controller.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/sharding_task_executor_pool_controller.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_hypot.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_hypot.c
c++ -o build/59f4f0dd/mongo/db/exec/text_or.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/text_or.cpp
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_hypot.c: In function '__bid128_hypot':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_hypot.c:36:47: warning: unused variable 'sign_z' [-Wunused-variable]
   36 | BID_UINT64  valid_x, valid_y, sign_x, sign_y, sign_z;
      |                                               ^~~~~~
c++ -o build/59f4f0dd/mongo/util/net/sockaddr.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/net/sockaddr.cpp
In file included from src/mongo/util/invalidating_lru_cache.h:38,
                 from src/mongo/util/read_through_cache.h:40,
                 from src/mongo/db/read_write_concern_defaults.h:42,
                 from src/mongo/db/read_write_concern_defaults.cpp:34:
src/mongo/util/lru_cache.h: In instantiation of 'boost::optional<std::pair<_T1, _T2> > mongo::LRUCache<K, V, Hash, KeyEqual>::add(const K&, V) [with K = mongo::ReadWriteConcernDefaults::Type; V = std::shared_ptr<mongo::InvalidatingLRUCache<mongo::ReadWriteConcernDefaults::Type, mongo::ReadThroughCache<mongo::ReadWriteConcernDefaults::Type, mongo::RWConcernDefault>::StoredValue>::StoredValue>; Hash = absl::hash_internal::Hash<mongo::ReadWriteConcernDefaults::Type>; KeyEqual = std::equal_to<mongo::ReadWriteConcernDefaults::Type>]':
src/mongo/util/invalidating_lru_cache.h:232:38:   required from 'mongo::InvalidatingLRUCache<Key, Value>::ValueHandle mongo::InvalidatingLRUCache<Key, Value>::insertOrAssignAndGet(const Key&, Value&&) [with Key = mongo::ReadWriteConcernDefaults::Type; Value = mongo::ReadThroughCache<mongo::ReadWriteConcernDefaults::Type, mongo::RWConcernDefault>::StoredValue]'
src/mongo/util/read_through_cache.h:283:43:   required from 'mongo::ReadThroughCache<Key, Value>::ValueHandle mongo::ReadThroughCache<Key, Value>::insertOrAssignAndGet(const Key&, Value&&, mongo::Date_t) [with Key = mongo::ReadWriteConcernDefaults::Type; Value = mongo::RWConcernDefault]'
src/mongo/db/read_write_concern_defaults.cpp:165:91:   required from here
src/mongo/util/lru_cache.h:108:34: warning: redundant move in return statement [-Wredundant-move]
  108 |             return std::move(pair);
      |                                  ^
src/mongo/util/lru_cache.h:108:34: note: remove 'std::move' call
In file included from src/mongo/db/read_write_concern_defaults.h:42,
                 from src/mongo/db/read_write_concern_defaults.cpp:34:
src/mongo/util/read_through_cache.h: In instantiation of 'mongo::Future<Value> mongo::ReadThroughCache<Key, Value>::_asyncLookupWhileInvalidated(std::unique_lock<mongo::latch_detail::Mutex>, mongo::ReadThroughCache<Key, Value>::InProgressLookup&) [with Key = mongo::ReadWriteConcernDefaults::Type; Value = mongo::RWConcernDefault]':
src/mongo/util/read_through_cache.h:234:24:   required from 'mongo::SharedSemiFuture<mongo::ReadThroughCache<Key, Value>::ValueHandle> mongo::ReadThroughCache<Key, Value>::acquireAsync(const Key&) [with Key = mongo::ReadWriteConcernDefaults::Type; Value = mongo::RWConcernDefault]'
src/mongo/util/read_through_cache.h:273:16:   required from 'mongo::ReadThroughCache<Key, Value>::ValueHandle mongo::ReadThroughCache<Key, Value>::acquire(mongo::OperationContext*, const Key&) [with Key = mongo::ReadWriteConcernDefaults::Type; Value = mongo::RWConcernDefault]'
src/mongo/db/read_write_concern_defaults.cpp:174:87:   required from here
src/mongo/util/read_through_cache.h:435:32: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
  435 |         return std::move(future);
      |                                ^
src/mongo/util/read_through_cache.h:435:32: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/repl/libsplit_horizon.a build/59f4f0dd/mongo/db/repl/split_horizon.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libsplit_horizon.a
c++ -o build/59f4f0dd/mongo/db/pipeline/accumulator_push.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/accumulator_push.cpp
In file included from src/mongo/db/matcher/expression_parser.h:37,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/semantic_analysis.cpp:33:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/semantic_analysis.cpp:33:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/semantic_analysis.cpp:33:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/semantic_analysis.cpp:33:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/index/duplicate_key_tracker.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/index/duplicate_key_tracker.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/storage/libwrite_unit_of_work.a build/59f4f0dd/mongo/db/storage/write_unit_of_work.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/libwrite_unit_of_work.a
gcc -o build/59f4f0dd/third_party/kms-message/src/kms_decrypt_request.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -DKMS_MSG_STATIC -DNDEBUG -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 -DKMS_MSG_STATIC -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -Isrc/third_party/kms-message/src -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/kms-message/src/kms_decrypt_request.c
ar rcsTD build/59f4f0dd/mongo/db/catalog/libindex_builds_manager.a build/59f4f0dd/mongo/db/catalog/index_builds_manager.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/catalog/libindex_builds_manager.a
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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/storage/key_string.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/key_string.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/views/view.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/views/view.cpp
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<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
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_push.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/index/duplicate_key_tracker.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/index/duplicate_key_tracker.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/views/view_catalog.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/views/view_catalog.cpp
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::MatchExpression> 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:39,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/semantic_analysis.cpp:33:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/views/view_graph.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/views/view_graph.cpp
In file included from src/mongo/db/views/resolved_view.h:37,
                 from src/mongo/db/views/view_catalog.h:44,
                 from src/mongo/db/views/view_catalog.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/repl/replication_coordinator_impl_heartbeat.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp
c++ -o build/59f4f0dd/mongo/client/mongo_uri.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/mongo_uri.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/views/view_catalog.cpp:42:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/commands.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/views/view_catalog.cpp:42:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/views/view_catalog.cpp:42:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/commands_in_multi_doc_txn_params_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/commands_in_multi_doc_txn_params_gen.cpp
c++ -o build/59f4f0dd/mongo/db/update/bit_node.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/update/bit_node.cpp
c++ -o build/59f4f0dd/mongo/db/periodic_runner_job_decrease_snapshot_cache_pressure.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/periodic_runner_job_decrease_snapshot_cache_pressure.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/client/fetcher.h:42,
                 from src/mongo/db/repl/initial_syncer.h:42,
                 from src/mongo/db/repl/replication_coordinator_impl.h:41,
                 from src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp:53:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
gcc -o build/59f4f0dd/third_party/wiredtiger/src/support/crypto.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/support/crypto.c
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/client/fetcher.h:42,
                 from src/mongo/db/repl/initial_syncer.h:42,
                 from src/mongo/db/repl/replication_coordinator_impl.h:41,
                 from src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp:53:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/client/fetcher.h:42,
                 from src/mongo/db/repl/initial_syncer.h:42,
                 from src/mongo/db/repl/replication_coordinator_impl.h:41,
                 from src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp:53:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/s/chunk_split_state_driver.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/chunk_split_state_driver.cpp
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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/client/fetcher.h:42,
                 from src/mongo/db/repl/initial_syncer.h:42,
                 from src/mongo/db/repl/replication_coordinator_impl.h:41,
                 from src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp:53:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/commands.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/commands_in_multi_doc_txn_params_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/update/update_leaf_node.h:32,
                 from src/mongo/db/update/modifier_node.h:39,
                 from src/mongo/db/update/bit_node.h:36,
                 from src/mongo/db/update/bit_node.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/commands_in_multi_doc_txn_params_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/third_party/s2/util/coding/coder.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -Isrc/third_party/s2 -Isrc/third_party/gflags-2.0/src -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/third_party/s2/util/coding/coder.cc
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/commands_in_multi_doc_txn_params_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/commands_in_multi_doc_txn_params_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/third_party/s2/util/coding/varint.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -Isrc/third_party/s2 -Isrc/third_party/gflags-2.0/src -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/third_party/s2/util/coding/varint.cc
gcc -o build/59f4f0dd/third_party/wiredtiger/src/block/block_ckpt.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/block/block_ckpt.c
ar rcsTD build/59f4f0dd/third_party/s2/util/coding/libcoding.a build/59f4f0dd/third_party/s2/util/coding/coder.o build/59f4f0dd/third_party/s2/util/coding/varint.o
Skipping ranlib for thin archive build/59f4f0dd/third_party/s2/util/coding/libcoding.a
c++ -o build/59f4f0dd/third_party/s2/util/math/mathutil.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -Isrc/third_party/s2 -Isrc/third_party/gflags-2.0/src -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/third_party/s2/util/math/mathutil.cc
ar rcsTD build/59f4f0dd/mongo/db/libperiodic_runner_job_decrease_snapshot_cache_pressure.a build/59f4f0dd/mongo/db/periodic_runner_job_decrease_snapshot_cache_pressure.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libperiodic_runner_job_decrease_snapshot_cache_pressure.a
c++ -o build/59f4f0dd/mongo/db/ftdc/ftdc_server_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/ftdc/ftdc_server_gen.cpp
ar rcsTD build/59f4f0dd/mongo/db/storage/libstorage_init_d.a build/59f4f0dd/mongo/db/storage/storage_init.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/libstorage_init_d.a
c++ -o build/59f4f0dd/mongo/util/exit.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/exit.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log2.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log2.c
ar rcsTD build/59f4f0dd/third_party/s2/util/math/libmath.a build/59f4f0dd/third_party/s2/util/math/mathutil.o
ar rcsTD build/59f4f0dd/mongo/db/views/libviews.a build/59f4f0dd/mongo/db/views/view.o build/59f4f0dd/mongo/db/views/view_catalog.o build/59f4f0dd/mongo/db/views/view_graph.o
Skipping ranlib for thin archive build/59f4f0dd/third_party/s2/util/math/libmath.a
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/views/libviews.a
c++ -o build/59f4f0dd/mongo/db/pipeline/expression_js_emit.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/expression_js_emit.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_next.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_next.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/log/log.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/log/log.c
In file included from src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_next.c:31:
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_next.c: In function '__bid128_nextup':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_next.c:179:54: warning: array subscript -6 is below array bounds of 'BID_UINT128[]' [-Warray-bounds]
  179 |        __mul_128x64_to_128 (C1, C1.w[0], bid_ten2k128[ind - 20]);
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_internal.h:711:21: note: in definition of macro '__mul_128x64_to_128'
  711 |   ALBH_L = (A64) * (B128).w[1];                    \
      |                     ^~~~
In file included from src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_internal.h:38,
                 from src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_next.c:31:
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_conf.h:429:22: note: while referencing '__bid_ten2k128'
  429 | #define bid_ten2k128 __bid_ten2k128
      |                      ^~~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_internal.h:2830:31: note: in expansion of macro 'bid_ten2k128'
 2830 |      BID_EXTERN_C BID_UINT128 bid_ten2k128[];
      |                               ^~~~~~~~~~~~
In file included from src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_next.c:31:
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_next.c:179:54: warning: array subscript -6 is below array bounds of 'BID_UINT128[]' [-Warray-bounds]
  179 |        __mul_128x64_to_128 (C1, C1.w[0], bid_ten2k128[ind - 20]);
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_internal.h:681:10: note: in definition of macro '__mul_64x64_to_128MACH'
  681 |   CYH = (CY64) >> 32;                              \
      |          ^~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_next.c:179:8: note: in expansion of macro '__mul_128x64_to_128'
  179 |        __mul_128x64_to_128 (C1, C1.w[0], bid_ten2k128[ind - 20]);
      |        ^~~~~~~~~~~~~~~~~~~
In file included from src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_internal.h:38,
                 from src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_next.c:31:
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_conf.h:429:22: note: while referencing '__bid_ten2k128'
  429 | #define bid_ten2k128 __bid_ten2k128
      |                      ^~~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_internal.h:2830:31: note: in expansion of macro 'bid_ten2k128'
 2830 |      BID_EXTERN_C BID_UINT128 bid_ten2k128[];
      |                               ^~~~~~~~~~~~
In file included from src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_next.c:31:
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_next.c: In function '__bid128_nextdown':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_next.c:372:54: warning: array subscript -6 is below array bounds of 'BID_UINT128[]' [-Warray-bounds]
  372 |        __mul_128x64_to_128 (C1, C1.w[0], bid_ten2k128[ind - 20]);
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_internal.h:711:21: note: in definition of macro '__mul_128x64_to_128'
  711 |   ALBH_L = (A64) * (B128).w[1];                    \
      |                     ^~~~
In file included from src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_internal.h:38,
                 from src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_next.c:31:
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_conf.h:429:22: note: while referencing '__bid_ten2k128'
  429 | #define bid_ten2k128 __bid_ten2k128
      |                      ^~~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_internal.h:2830:31: note: in expansion of macro 'bid_ten2k128'
 2830 |      BID_EXTERN_C BID_UINT128 bid_ten2k128[];
      |                               ^~~~~~~~~~~~
In file included from src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_next.c:31:
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_next.c:372:54: warning: array subscript -6 is below array bounds of 'BID_UINT128[]' [-Warray-bounds]
  372 |        __mul_128x64_to_128 (C1, C1.w[0], bid_ten2k128[ind - 20]);
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_internal.h:681:10: note: in definition of macro '__mul_64x64_to_128MACH'
  681 |   CYH = (CY64) >> 32;                              \
      |          ^~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_next.c:372:8: note: in expansion of macro '__mul_128x64_to_128'
  372 |        __mul_128x64_to_128 (C1, C1.w[0], bid_ten2k128[ind - 20]);
      |        ^~~~~~~~~~~~~~~~~~~
In file included from src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_internal.h:38,
                 from src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_next.c:31:
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_conf.h:429:22: note: while referencing '__bid_ten2k128'
  429 | #define bid_ten2k128 __bid_ten2k128
      |                      ^~~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_internal.h:2830:31: note: in expansion of macro 'bid_ten2k128'
 2830 |      BID_EXTERN_C BID_UINT128 bid_ten2k128[];
      |                               ^~~~~~~~~~~~
c++ -o build/59f4f0dd/mongo/db/s/read_only_catalog_cache_loader.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/read_only_catalog_cache_loader.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/s/auto_split_vector.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/auto_split_vector.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/ftdc/ftdc_server.h:36,
                 from build/59f4f0dd/mongo/db/ftdc/ftdc_server_gen.h:21,
                 from build/59f4f0dd/mongo/db/ftdc/ftdc_server_gen.cpp:9:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/mongod_options_replication_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/mongod_options_replication_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/ftdc/ftdc_server.h:36,
                 from build/59f4f0dd/mongo/db/ftdc/ftdc_server_gen.h:21,
                 from build/59f4f0dd/mongo/db/ftdc/ftdc_server_gen.cpp:9:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/exec/add_fields_projection_executor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/add_fields_projection_executor.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/ftdc/ftdc_server.h:36,
                 from build/59f4f0dd/mongo/db/ftdc/ftdc_server_gen.h:21,
                 from build/59f4f0dd/mongo/db/ftdc/ftdc_server_gen.cpp:9:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/ftdc/ftdc_server.h:36,
                 from build/59f4f0dd/mongo/db/ftdc/ftdc_server_gen.h:21,
                 from build/59f4f0dd/mongo/db/ftdc/ftdc_server_gen.cpp:9:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/pipeline/expression.h:47,
                 from src/mongo/db/pipeline/expression_js_emit.h:32,
                 from src/mongo/db/pipeline/expression_js_emit.cpp:33:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/exec/projection_executor_builder.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/projection_executor_builder.cpp
c++ -o build/59f4f0dd/mongo/db/commands/kill_operations_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/commands/kill_operations_gen.cpp
ar rcsTD build/59f4f0dd/mongo/db/libcommands.a build/59f4f0dd/mongo/db/commands.o build/59f4f0dd/mongo/db/commands_in_multi_doc_txn_params_gen.o
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/inclusion_projection_executor.h:34,
                 from src/mongo/db/exec/add_fields_projection_executor.h:34,
                 from src/mongo/db/exec/add_fields_projection_executor.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libcommands.a
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Generating build/59f4f0dd/mongo/db/commands/sessions_commands_gen.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_raii.h:33,
                 from src/mongo/db/s/auto_split_vector.cpp:39:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/commands/sessions_commands_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/commands/sessions_commands_gen.cpp
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/s/auto_split_vector.cpp:39:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/mongod_options_replication_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/inclusion_projection_executor.h:34,
                 from src/mongo/db/exec/add_fields_projection_executor.h:34,
                 from src/mongo/db/exec/add_fields_projection_executor.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/inclusion_projection_executor.h:34,
                 from src/mongo/db/exec/add_fields_projection_executor.h:34,
                 from src/mongo/db/exec/add_fields_projection_executor.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/inclusion_projection_executor.h:34,
                 from src/mongo/db/exec/add_fields_projection_executor.h:34,
                 from src/mongo/db/exec/add_fields_projection_executor.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_raii.h:33,
                 from src/mongo/db/s/auto_split_vector.cpp:39:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/projection_executor_builder.h:34,
                 from src/mongo/db/exec/projection_executor_builder.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/s/auto_split_vector.cpp:39:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/s/request_types/split_chunk_request_type.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/request_types/split_chunk_request_type.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/59f4f0dd/mongo/db/mongod_options_replication_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/mongod_options_replication_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/mongod_options_replication_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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_executor_builder.h:34,
                 from src/mongo/db/exec/projection_executor_builder.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_executor_builder.h:34,
                 from src/mongo/db/exec/projection_executor_builder.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_executor_builder.h:34,
                 from src/mongo/db/exec/projection_executor_builder.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/scripting/dbdirectclient_factory.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/dbdirectclient_factory.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/59f4f0dd/mongo/db/commands/kill_operations_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/commands/sessions_commands_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/commands/kill_operations_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/59f4f0dd/mongo/db/commands/sessions_commands_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/59f4f0dd/mongo/db/commands/kill_operations_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from build/59f4f0dd/mongo/db/commands/sessions_commands_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/59f4f0dd/mongo/db/commands/kill_operations_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
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/59f4f0dd/mongo/db/commands/sessions_commands_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_next.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_next.c
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
ar rcsTD build/59f4f0dd/mongo/db/storage/liboplog_hack.a build/59f4f0dd/mongo/db/storage/oplog_hack.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/liboplog_hack.a
c++ -o build/59f4f0dd/mongo/client/sasl_scram_client_conversation.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/sasl_scram_client_conversation.cpp
c++ -o build/59f4f0dd/mongo/db/auth/role_name.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/role_name.cpp
c++ -o build/59f4f0dd/third_party/abseil-cpp-master/abseil-cpp/absl/container/internal/raw_hash_set.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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/abseil-cpp-master/abseil-cpp -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/abseil-cpp-master/abseil-cpp/absl/container/internal/raw_hash_set.cc
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Generating build/59f4f0dd/mongo/scripting/mozjs/scripting_util_gen.cpp
c++ -o build/59f4f0dd/mongo/db/repl/initial_syncer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/initial_syncer.cpp
c++ -o build/59f4f0dd/mongo/scripting/mozjs/cursor_handle.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/cursor_handle.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/exec/limit.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/limit.cpp
c++ -o build/59f4f0dd/mongo/db/read_concern_mongod.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/read_concern_mongod.cpp
ar rcsTD build/59f4f0dd/mongo/db/exec/libprojection_executor.a build/59f4f0dd/mongo/db/exec/add_fields_projection_executor.o build/59f4f0dd/mongo/db/exec/inclusion_projection_executor.o build/59f4f0dd/mongo/db/exec/projection_executor_builder.o build/59f4f0dd/mongo/db/exec/projection_executor_utils.o build/59f4f0dd/mongo/db/exec/projection_node.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/exec/libprojection_executor.a
c++ -o build/59f4f0dd/mongo/util/diagnostic_info.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/diagnostic_info.cpp
gcc -o build/59f4f0dd/third_party/libstemmer_c/src_c/stem_UTF_8_norwegian.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -fno-strict-overflow -DNDEBUG -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/libstemmer_c/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/libstemmer_c/src_c/stem_UTF_8_norwegian.c
c++ -o build/59f4f0dd/mongo/scripting/mozjs/numberdecimal.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/numberdecimal.cpp
c++ -o build/59f4f0dd/mongo/s/query/router_stage_mock.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/query/router_stage_mock.cpp
c++ -o build/59f4f0dd/mongo/rpc/object_check.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/rpc/object_check.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/client/fetcher.h:42,
                 from src/mongo/db/repl/initial_syncer.h:42,
                 from src/mongo/db/repl/initial_syncer.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/client/fetcher.h:42,
                 from src/mongo/db/repl/initial_syncer.h:42,
                 from src/mongo/db/repl/initial_syncer.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/limit.h:33,
                 from src/mongo/db/exec/limit.cpp:30:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/client/fetcher.h:42,
                 from src/mongo/db/repl/initial_syncer.h:42,
                 from src/mongo/db/repl/initial_syncer.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/client/fetcher.h:42,
                 from src/mongo/db/repl/initial_syncer.h:42,
                 from src/mongo/db/repl/initial_syncer.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/read_concern_mongod.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_raii.h:33,
                 from src/mongo/db/read_concern_mongod.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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_raii.h:33,
                 from src/mongo/db/read_concern_mongod.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/read_concern_mongod.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/s/chunk_writes_tracker.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/chunk_writes_tracker.cpp
c++ -o build/59f4f0dd/mongo/db/service_liaison_mongod.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/service_liaison_mongod.cpp
c++ -o build/59f4f0dd/mongo/db/auth/authorization_manager.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/authorization_manager.cpp
c++ -o build/59f4f0dd/mongo/db/transaction_validation.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/transaction_validation.cpp
ar rcsTD build/59f4f0dd/mongo/s/libchunk_writes_tracker.a build/59f4f0dd/mongo/s/chunk_writes_tracker.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/libchunk_writes_tracker.a
gcc -o build/59f4f0dd/third_party/wiredtiger/src/support/hash_fnv.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/support/hash_fnv.c
c++ -o build/59f4f0dd/mongo/s/grid.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/grid.cpp
c++ -o build/59f4f0dd/mongo/s/balancer_configuration.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/balancer_configuration.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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/util/libdiagnostic_info.a build/59f4f0dd/mongo/util/diagnostic_info.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/libdiagnostic_info.a
c++ -o build/59f4f0dd/mongo/s/catalog_cache.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/catalog_cache.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/transaction_validation.cpp:36:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/auth/libauth.a build/59f4f0dd/mongo/db/auth/authorization_manager.o build/59f4f0dd/mongo/db/auth/authorization_session.o build/59f4f0dd/mongo/db/auth/auth_decorations.o build/59f4f0dd/mongo/db/auth/user_name.o build/59f4f0dd/mongo/db/auth/role_name.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/auth/libauth.a
c++ -o build/59f4f0dd/mongo/s/client/shard_registry.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/client/shard_registry.cpp
In file included from src/mongo/db/matcher/expression_parser.h:37,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/s/query/cluster_client_cursor_params.h:43,
                 from src/mongo/s/query/cluster_client_cursor.h:38,
                 from src/mongo/s/query/cluster_cursor_manager.h:43,
                 from src/mongo/s/grid.cpp:44:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/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/transaction_validation.cpp:36:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595: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/transaction_validation.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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:38,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/s/query/cluster_client_cursor_params.h:43,
                 from src/mongo/s/query/cluster_client_cursor.h:38,
                 from src/mongo/s/query/cluster_cursor_manager.h:43,
                 from src/mongo/s/grid.cpp:44:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/pipeline/pipeline.h:40,
                 from src/mongo/s/query/cluster_client_cursor_params.h:43,
                 from src/mongo/s/query/cluster_client_cursor.h:38,
                 from src/mongo/s/query/cluster_cursor_manager.h:43,
                 from src/mongo/s/grid.cpp:44:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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: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/transaction_validation.cpp:36:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/pipeline/pipeline.h:40,
                 from src/mongo/s/query/cluster_client_cursor_params.h:43,
                 from src/mongo/s/query/cluster_client_cursor.h:38,
                 from src/mongo/s/query/cluster_cursor_manager.h:43,
                 from src/mongo/s/grid.cpp:44:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/libread_concern_d_impl.a build/59f4f0dd/mongo/db/read_concern_mongod.o build/59f4f0dd/mongo/db/read_concern_mongod_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libread_concern_d_impl.a
c++ -o build/59f4f0dd/mongo/db/catalog/rename_collection.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/rename_collection.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/libservice_liaison_mongod.a build/59f4f0dd/mongo/db/service_liaison_mongod.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libservice_liaison_mongod.a
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_group.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_group.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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:39,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/s/query/cluster_client_cursor_params.h:43,
                 from src/mongo/s/query/cluster_client_cursor.h:38,
                 from src/mongo/s/query/cluster_cursor_manager.h:43,
                 from src/mongo/s/grid.cpp:44:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/scripting/mozjs/timestamp.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/timestamp.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/catalog/rename_collection.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/s/cluster_last_error_info.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/cluster_last_error_info.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/rename_collection.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
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/accumulation_statement.h:35,
                 from src/mongo/db/pipeline/document_source_group.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
Generating build/59f4f0dd/mongo/s/request_types/ensure_chunk_version_is_greater_than_gen.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/rename_collection.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/rename_collection.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/s/request_types/ensure_chunk_version_is_greater_than_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/s/request_types/ensure_chunk_version_is_greater_than_gen.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_group.h:37,
                 from src/mongo/db/pipeline/document_source_group.cpp:39:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_group.h:37,
                 from src/mongo/db/pipeline/document_source_group.cpp:39:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_group.h:37,
                 from src/mongo/db/pipeline/document_source_group.cpp:39:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/repl/repl_set_config_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/repl/repl_set_config_gen.cpp
Generating build/59f4f0dd/mongo/db/storage/flow_control_parameters_gen.cpp
c++ -o build/59f4f0dd/mongo/db/storage/flow_control.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/flow_control.cpp
src/mongo/db/pipeline/document_source_group.cpp: In member function 'mongo::DocumentSource::GetNextResult mongo::DocumentSourceGroup::getNextStandard()':
src/mongo/db/pipeline/document_source_group.cpp:240:21: warning: redundant move in return statement [-Wredundant-move]
  240 |     return std::move(out);
      |            ~~~~~~~~~^~~~~
src/mongo/db/pipeline/document_source_group.cpp:240:21: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/s/libgrid.a build/59f4f0dd/mongo/s/balancer_configuration.o build/59f4f0dd/mongo/s/catalog_cache.o build/59f4f0dd/mongo/s/client/shard_factory.o build/59f4f0dd/mongo/s/client/shard_registry.o build/59f4f0dd/mongo/s/grid.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/libgrid.a
c++ -o build/59f4f0dd/mongo/db/index_builds_coordinator_mongod.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/index_builds_coordinator_mongod.cpp
ar rcsTD build/59f4f0dd/mongo/s/libcluster_last_error_info.a build/59f4f0dd/mongo/s/cluster_last_error_info.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/libcluster_last_error_info.a
c++ -o build/59f4f0dd/mongo/db/views/durable_view_catalog.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/views/durable_view_catalog.cpp
c++ -o build/59f4f0dd/mongo/db/commands/rename_collection_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/commands/rename_collection_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 build/59f4f0dd/mongo/db/repl/repl_set_config_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/s/request_types/ensure_chunk_version_is_greater_than_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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_group.h:37,
                 from src/mongo/db/pipeline/document_source_group.cpp:39:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 build/59f4f0dd/mongo/db/repl/repl_set_config_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/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/59f4f0dd/mongo/s/request_types/ensure_chunk_version_is_greater_than_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:289:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/59f4f0dd/mongo/db/repl/repl_set_config_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616: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/59f4f0dd/mongo/db/repl/repl_set_config_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/s/request_types/ensure_chunk_version_is_greater_than_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/s/request_types/ensure_chunk_version_is_greater_than_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/commands/server_status.h:32,
                 from src/mongo/db/storage/flow_control.h:34,
                 from src/mongo/db/storage/flow_control.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/commands/server_status.h:32,
                 from src/mongo/db/storage/flow_control.h:34,
                 from src/mongo/db/storage/flow_control.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/storage/flow_control.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/server_status.h:32,
                 from src/mongo/db/storage/flow_control.h:34,
                 from src/mongo/db/storage/flow_control.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/db/commands/rename_collection_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/views/durable_view_catalog.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/59f4f0dd/mongo/db/commands/rename_collection_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/views/durable_view_catalog.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/commands/rename_collection_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/commands/rename_collection_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/views/durable_view_catalog.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/views/durable_view_catalog.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/index_builds_coordinator_mongod.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/third_party/shim_kms_message.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DKMS_MSG_STATIC -DNDEBUG -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/kms-message/src -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/shim_kms_message.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/kill_sessions_local.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/kill_sessions_local.cpp
Generating build/59f4f0dd/mongo/db/query/expression_index_knobs_gen.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/index_builds_coordinator_mongod.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/query/index_bounds_builder.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/index_bounds_builder.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/index_builds_coordinator_mongod.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/index_builds_coordinator_mongod.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/platform/shared_library_posix.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/platform/shared_library_posix.cpp
c++ -o build/59f4f0dd/third_party/murmurhash3/MurmurHash3.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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/fmt/dist/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/murmurhash3/MurmurHash3.cpp
c++ -o build/59f4f0dd/third_party/s2/base/logging_mongo.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -Isrc/third_party/s2 -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/third_party/s2/base/logging_mongo.cc
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/repl/repl_set_heartbeat_response.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/repl_set_heartbeat_response.cpp
In file included from src/mongo/db/matcher/expression_parser.h:37,
                 from src/mongo/db/query/index_bounds_builder.h:34,
                 from src/mongo/db/query/index_bounds_builder.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/query/index_bounds_builder.h:34,
                 from src/mongo/db/query/index_bounds_builder.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/query/index_bounds_builder.h:34,
                 from src/mongo/db/query/index_bounds_builder.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/query/index_bounds_builder.h:34,
                 from src/mongo/db/query/index_bounds_builder.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/repl/member_config.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/member_config.cpp
c++ -o build/59f4f0dd/mongo/db/repl/update_position_args.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/update_position_args.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/kill_sessions_local.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
In file included from src/mongo/db/query/planner_ixselect.h:32,
                 from src/mongo/db/query/index_bounds_builder.cpp:50:
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchObjectMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:85:25: warning: redundant move in return statement [-Wredundant-move]
   85 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:85:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchValueMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:140:25: warning: redundant move in return statement [-Wredundant-move]
  140 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:140:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::SizeMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:177:25: warning: redundant move in return statement [-Wredundant-move]
  177 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:177:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/repl/repl_set_tag.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/repl_set_tag.cpp
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/kill_sessions_local.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/cursor_manager.h:35,
                 from src/mongo/db/kill_sessions_local.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/kill_sessions_local.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/storage/libflow_control.a build/59f4f0dd/mongo/db/storage/flow_control.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/libflow_control.a
c++ -o build/59f4f0dd/mongo/db/repl/last_vote.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/last_vote.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/bson/util/bson_check.h:34,
                 from src/mongo/db/repl/update_position_args.cpp:35:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/repl/repl_set_heartbeat_args_v1.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/repl_set_heartbeat_args_v1.cpp
In file included from src/mongo/db/matcher/expression_parser.h:39,
                 from src/mongo/db/query/index_bounds_builder.h:34,
                 from src/mongo/db/query/index_bounds_builder.cpp:32:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 src/mongo/bson/util/bson_check.h:34,
                 from src/mongo/db/repl/member_config.cpp:36:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/bson/util/bson_check.h:34,
                 from src/mongo/db/repl/update_position_args.cpp:35:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/bson/util/bson_check.h:34,
                 from src/mongo/db/repl/update_position_args.cpp:35:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/bson/util/bson_check.h:34,
                 from src/mongo/db/repl/update_position_args.cpp:35:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/third_party/wiredtiger/src/btree/bt_cursor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/btree/bt_cursor.c
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/bson/util/bson_check.h:34,
                 from src/mongo/db/repl/member_config.cpp:36:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/bson/util/bson_check.h:34,
                 from src/mongo/db/repl/member_config.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/bson/util/bson_check.h:34,
                 from src/mongo/db/repl/member_config.cpp:36:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/matcher/expression_leaf.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/expression_leaf.cpp
ar rcsTD build/59f4f0dd/mongo/db/libindex_builds_coordinator_mongod.a build/59f4f0dd/mongo/db/index_builds_coordinator_mongod.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libindex_builds_coordinator_mongod.a
c++ -o build/59f4f0dd/mongo/db/concurrency/lock_manager.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/concurrency/lock_manager.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/bson/util/bson_check.h:34,
                 from src/mongo/db/repl/last_vote.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
gcc -o build/59f4f0dd/third_party/wiredtiger/src/history/hs_verify.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/history/hs_verify.c
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/bson/util/bson_check.h:34,
                 from src/mongo/db/repl/repl_set_heartbeat_args_v1.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/bson/util/bson_check.h:34,
                 from src/mongo/db/repl/last_vote.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/bson/util/bson_check.h:34,
                 from src/mongo/db/repl/last_vote.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/bson/util/bson_check.h:34,
                 from src/mongo/db/repl/last_vote.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/bson/util/bson_check.h:34,
                 from src/mongo/db/repl/repl_set_heartbeat_args_v1.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/bson/util/bson_check.h:34,
                 from src/mongo/db/repl/repl_set_heartbeat_args_v1.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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: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/bson/util/bson_check.h:34,
                 from src/mongo/db/repl/repl_set_heartbeat_args_v1.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/pipeline/sequential_document_cache.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/sequential_document_cache.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_noncomp.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_noncomp.c
In file included from src/mongo/db/matcher/expression_leaf.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/concurrency/lock_manager.cpp:44:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/commands/kill_all_sessions_by_pattern_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/kill_all_sessions_by_pattern_command.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/matcher/expression_leaf.cpp:44:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/concurrency/lock_manager.cpp:44:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
gcc -o build/59f4f0dd/third_party/wiredtiger/src/packing/pack_stream.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/packing/pack_stream.c
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.cpp:44:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.cpp:44:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/repl/session_update_tracker.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/session_update_tracker.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/concurrency/lock_manager.cpp:44:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/concurrency/lock_manager.cpp:44:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/repl/libreplication_auth.a build/59f4f0dd/mongo/db/repl/replication_auth.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libreplication_auth.a
c++ -o build/59f4f0dd/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_recovery_unit.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_recovery_unit.cpp
src/mongo/db/matcher/expression_leaf.cpp: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::InMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.cpp:418:21: warning: redundant move in return statement [-Wredundant-move]
  418 |     return std::move(next);
      |            ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_leaf.cpp:418:21: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.cpp: In lambda function:
src/mongo/db/matcher/expression_leaf.cpp:593:29: warning: redundant move in return statement [-Wredundant-move]
  593 |             return std::move(simplifiedExpression);
      |                    ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.cpp:593:29: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.cpp:603:29: warning: redundant move in return statement [-Wredundant-move]
  603 |             return std::move(simplifiedExpression);
      |                    ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.cpp:603:29: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/storage/kv/kv_drop_pending_ident_reaper.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/kv/kv_drop_pending_ident_reaper.cpp
In file included from src/mongo/db/matcher/expression_parser.h:39,
                 from src/mongo/db/matcher/expression_leaf.cpp:44:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/op_observer_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/op_observer_impl.cpp
ar rcsTD build/59f4f0dd/mongo/db/repl/libreplica_set_messages.a build/59f4f0dd/mongo/db/repl/is_master_response.o build/59f4f0dd/mongo/db/repl/member_config.o build/59f4f0dd/mongo/db/repl/repl_set_config.o build/59f4f0dd/mongo/db/repl/repl_set_heartbeat_args_v1.o build/59f4f0dd/mongo/db/repl/repl_set_heartbeat_response.o build/59f4f0dd/mongo/db/repl/repl_set_request_votes_args.o build/59f4f0dd/mongo/db/repl/repl_set_tag.o build/59f4f0dd/mongo/db/repl/update_position_args.o build/59f4f0dd/mongo/db/repl/last_vote.o build/59f4f0dd/mongo/db/repl/repl_set_config_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libreplica_set_messages.a
c++ -o build/59f4f0dd/mongo/db/kill_sessions_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/kill_sessions_gen.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/uncommitted_collections.h:37,
                 from src/mongo/db/transaction_participant.h:36,
                 from build/59f4f0dd/mongo/db/transaction_participant_gen.h:21,
                 from src/mongo/db/repl/session_update_tracker.cpp:41:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/uncommitted_collections.h:37,
                 from src/mongo/db/transaction_participant.h:36,
                 from build/59f4f0dd/mongo/db/transaction_participant_gen.h:21,
                 from src/mongo/db/repl/session_update_tracker.cpp:41:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/exec/geo_near.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/geo_near.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/catalog/uncommitted_collections.h:37,
                 from src/mongo/db/transaction_participant.h:36,
                 from build/59f4f0dd/mongo/db/transaction_participant_gen.h:21,
                 from src/mongo/db/repl/session_update_tracker.cpp:41:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/uncommitted_collections.h:37,
                 from src/mongo/db/transaction_participant.h:36,
                 from build/59f4f0dd/mongo/db/transaction_participant_gen.h:21,
                 from src/mongo/db/repl/session_update_tracker.cpp:41:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/s/op_observer_sharding_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/op_observer_sharding_impl.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/kill_all_sessions_by_pattern_command.cpp:39:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/kill_all_sessions_by_pattern_command.cpp:39:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/kill_all_sessions_by_pattern_command.cpp:39:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/kill_all_sessions_by_pattern_command.cpp:39:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/db/kill_sessions_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
gcc -o build/59f4f0dd/third_party/wiredtiger/src/meta/meta_track.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/meta/meta_track.c
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/59f4f0dd/mongo/db/kill_sessions_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/kill_sessions_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/kill_sessions_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/client_metadata_propagation_egress_hook.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/client_metadata_propagation_egress_hook.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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/requires_index_stage.h:32,
                 from src/mongo/db/exec/index_scan.h:32,
                 from src/mongo/db/exec/geo_near.h:32,
                 from src/mongo/db/exec/geo_near.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/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/op_observer.h:35,
                 from src/mongo/db/op_observer_impl.h:32,
                 from src/mongo/db/op_observer_impl.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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/op_observer.h:35,
                 from src/mongo/db/op_observer_impl.h:32,
                 from src/mongo/db/s/op_observer_sharding_impl.h:32,
                 from src/mongo/db/s/op_observer_sharding_impl.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/requires_index_stage.h:32,
                 from src/mongo/db/exec/index_scan.h:32,
                 from src/mongo/db/exec/geo_near.h:32,
                 from src/mongo/db/exec/geo_near.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/query/collation/collator_interface.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/collation/collator_interface.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/op_observer.h:35,
                 from src/mongo/db/op_observer_impl.h:32,
                 from src/mongo/db/s/op_observer_sharding_impl.h:32,
                 from src/mongo/db/s/op_observer_sharding_impl.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/op_observer.h:35,
                 from src/mongo/db/op_observer_impl.h:32,
                 from src/mongo/db/op_observer_impl.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/requires_index_stage.h:32,
                 from src/mongo/db/exec/index_scan.h:32,
                 from src/mongo/db/exec/geo_near.h:32,
                 from src/mongo/db/exec/geo_near.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/requires_index_stage.h:32,
                 from src/mongo/db/exec/index_scan.h:32,
                 from src/mongo/db/exec/geo_near.h:32,
                 from src/mongo/db/exec/geo_near.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/op_observer.h:35,
                 from src/mongo/db/op_observer_impl.h:32,
                 from src/mongo/db/s/op_observer_sharding_impl.h:32,
                 from src/mongo/db/s/op_observer_sharding_impl.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/op_observer.h:35,
                 from src/mongo/db/op_observer_impl.h:32,
                 from src/mongo/db/s/op_observer_sharding_impl.h:32,
                 from src/mongo/db/s/op_observer_sharding_impl.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/op_observer.h:35,
                 from src/mongo/db/op_observer_impl.h:32,
                 from src/mongo/db/op_observer_impl.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/op_observer.h:35,
                 from src/mongo/db/op_observer_impl.h:32,
                 from src/mongo/db/op_observer_impl.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/query/collation/collation_spec.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/collation/collation_spec.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/libclient_metadata_propagation_egress_hook.a build/59f4f0dd/mongo/db/client_metadata_propagation_egress_hook.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libclient_metadata_propagation_egress_hook.a
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/query/collation/collation_index_key.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/collation/collation_index_key.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/auth/address_restriction_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/auth/address_restriction_gen.cpp
c++ -o build/59f4f0dd/mongo/db/traffic_recorder.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/traffic_recorder.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/traffic_recorder_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/traffic_recorder_gen.cpp
c++ -o build/59f4f0dd/mongo/db/traffic_recorder_validators.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/traffic_recorder_validators.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/query/collation/libcollator_interface.a build/59f4f0dd/mongo/db/query/collation/collation_index_key.o build/59f4f0dd/mongo/db/query/collation/collation_spec.o build/59f4f0dd/mongo/db/query/collation/collator_interface.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/query/collation/libcollator_interface.a
c++ -o build/59f4f0dd/mongo/db/repl/read_concern_args.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/read_concern_args.cpp
c++ -o build/59f4f0dd/third_party/s2/s2edgeindex.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DDEBUG_MODE=false -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/third_party/s2/s2edgeindex.cc
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/59f4f0dd/mongo/db/auth/address_restriction_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/client/connection_pool.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/connection_pool.cpp
c++ -o build/59f4f0dd/mongo/db/query/distinct_command_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/query/distinct_command_gen.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/59f4f0dd/mongo/db/auth/address_restriction_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595: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/59f4f0dd/mongo/db/traffic_recorder_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/auth/address_restriction_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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: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/59f4f0dd/mongo/db/auth/address_restriction_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/exec/upsert_stage.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/upsert_stage.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/traffic_recorder.cpp:42:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/traffic_recorder_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/traffic_recorder_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/traffic_recorder_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from src/mongo/db/commands/server_status.h:32,
                 from src/mongo/db/traffic_recorder.cpp:42:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/traffic_recorder.cpp:42:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/server_status.h:32,
                 from src/mongo/db/traffic_recorder.cpp:42:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/code_conversion.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/log/src/code_conversion.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/59f4f0dd/mongo/db/query/distinct_command_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/update_stage.h:33,
                 from src/mongo/db/exec/upsert_stage.h:32,
                 from src/mongo/db/exec/upsert_stage.cpp:30:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
gcc -o build/59f4f0dd/third_party/libstemmer_c/src_c/stem_UTF_8_spanish.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -fno-strict-overflow -DNDEBUG -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/libstemmer_c/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/libstemmer_c/src_c/stem_UTF_8_spanish.c
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/59f4f0dd/mongo/db/query/distinct_command_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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/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/update_stage.h:33,
                 from src/mongo/db/exec/upsert_stage.h:32,
                 from src/mongo/db/exec/upsert_stage.cpp:30:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/query/distinct_command_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/query/distinct_command_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/s/request_types/balance_chunk_request_type.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/request_types/balance_chunk_request_type.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/exec/update_stage.h:33,
                 from src/mongo/db/exec/upsert_stage.h:32,
                 from src/mongo/db/exec/upsert_stage.cpp:30:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/exec/update_stage.h:33,
                 from src/mongo/db/exec/upsert_stage.h:32,
                 from src/mongo/db/exec/upsert_stage.cpp:30:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/repl/local_oplog_info.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/local_oplog_info.cpp
c++ -o build/59f4f0dd/mongo/db/stats/server_read_concern_metrics.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/stats/server_read_concern_metrics.cpp
ar rcsTD build/59f4f0dd/mongo/client/libconnection_pool.a build/59f4f0dd/mongo/client/connection_pool.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/client/libconnection_pool.a
c++ -o build/59f4f0dd/mongo/db/stats/read_concern_stats_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/stats/read_concern_stats_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Generating build/59f4f0dd/mongo/db/stats/server_write_concern_metrics_gen.cpp
c++ -o build/59f4f0dd/mongo/db/stats/server_write_concern_metrics_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/stats/server_write_concern_metrics_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/libtraffic_recorder.a build/59f4f0dd/mongo/db/traffic_recorder.o build/59f4f0dd/mongo/db/traffic_recorder_validators.o build/59f4f0dd/mongo/db/traffic_recorder_gen.o
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/59f4f0dd/mongo/db/stats/read_concern_stats_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libtraffic_recorder.a
c++ -o build/59f4f0dd/mongo/db/stats/server_write_concern_metrics.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/stats/server_write_concern_metrics.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/repl/local_oplog_info.h:36,
                 from src/mongo/db/repl/local_oplog_info.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/query/libdistinct_command_idl.a build/59f4f0dd/mongo/db/query/distinct_command_gen.o
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/query/libdistinct_command_idl.a
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/local_oplog_info.h:36,
                 from src/mongo/db/repl/local_oplog_info.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/commands/server_status.h:32,
                 from src/mongo/db/stats/server_read_concern_metrics.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/s/migration_chunk_cloner_source.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -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 build/59f4f0dd/mongo/db/stats/read_concern_stats_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/stats/read_concern_stats_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/stats/read_concern_stats_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/repl/local_oplog_info.h:36,
                 from src/mongo/db/repl/local_oplog_info.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from src/mongo/db/commands/server_status.h:32,
                 from src/mongo/db/stats/server_read_concern_metrics.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
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/local_oplog_info.h:36,
                 from src/mongo/db/repl/local_oplog_info.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atanh.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atanh.c
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/stats/server_read_concern_metrics.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atanh.c: In function '__bid128_atanh':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atanh.c:41:23: warning: unused variable 'yq' [-Wunused-variable]
   41 | BID_F128_TYPE rq, xq, yq;
      |                       ^~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atanh.c:40:38: warning: unused variable 'exponent_res' [-Wunused-variable]
   40 | int exponent_x, exponent_y, cmp_res, exponent_res;
      |                                      ^~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atanh.c:40:29: warning: unused variable 'cmp_res' [-Wunused-variable]
   40 | int exponent_x, exponent_y, cmp_res, exponent_res;
      |                             ^~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atanh.c:40:17: warning: unused variable 'exponent_y' [-Wunused-variable]
   40 | int exponent_x, exponent_y, cmp_res, exponent_res;
      |                 ^~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atanh.c:38:58: warning: unused variable 'coeff_res' [-Wunused-variable]
   38 | BID_UINT128 CX, CY, xn, one, one_m_x, one_p_x, res, tmp, coeff_res, y;
      |                                                          ^~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atanh.c:38:39: warning: unused variable 'one_p_x' [-Wunused-variable]
   38 | BID_UINT128 CX, CY, xn, one, one_m_x, one_p_x, res, tmp, coeff_res, y;
      |                                       ^~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atanh.c:38:17: warning: unused variable 'CY' [-Wunused-variable]
   38 | BID_UINT128 CX, CY, xn, one, one_m_x, one_p_x, res, tmp, coeff_res, y;
      |                 ^~
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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/commands/server_status.h:32,
                 from src/mongo/db/stats/server_read_concern_metrics.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/repl/data_replicator_external_state_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/data_replicator_external_state_impl.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/59f4f0dd/mongo/db/stats/server_write_concern_metrics_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/base/error_codes.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/base/error_codes.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/59f4f0dd/mongo/db/stats/server_write_concern_metrics_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595: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/commands/server_status.h:32,
                 from src/mongo/db/stats/server_write_concern_metrics.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/stats/server_write_concern_metrics_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/stats/server_write_concern_metrics_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/commands/server_status.h:32,
                 from src/mongo/db/stats/server_write_concern_metrics.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574: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/op_observer.h:35,
                 from src/mongo/db/op_observer_impl.h:32,
                 from src/mongo/db/s/migration_chunk_cloner_source.h:33,
                 from src/mongo/db/s/migration_chunk_cloner_source.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
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/stats/server_write_concern_metrics.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574: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/stats/server_write_concern_metrics.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/op_observer.h:35,
                 from src/mongo/db/op_observer_impl.h:32,
                 from src/mongo/db/s/migration_chunk_cloner_source.h:33,
                 from src/mongo/db/s/migration_chunk_cloner_source.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/op_observer.h:35,
                 from src/mongo/db/op_observer_impl.h:32,
                 from src/mongo/db/s/migration_chunk_cloner_source.h:33,
                 from src/mongo/db/s/migration_chunk_cloner_source.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/op_observer.h:35,
                 from src/mongo/db/op_observer_impl.h:32,
                 from src/mongo/db/s/migration_chunk_cloner_source.h:33,
                 from src/mongo/db/s/migration_chunk_cloner_source.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/rpc/rewrite_state_change_errors.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/rpc/rewrite_state_change_errors.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/data_replicator_external_state_impl.h:32,
                 from src/mongo/db/repl/data_replicator_external_state_impl.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/repl/libdrop_pending_collection_reaper.a build/59f4f0dd/mongo/db/repl/drop_pending_collection_reaper.o
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/data_replicator_external_state_impl.h:32,
                 from src/mongo/db/repl/data_replicator_external_state_impl.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libdrop_pending_collection_reaper.a
gcc -o build/59f4f0dd/third_party/wiredtiger/src/schema/schema_truncate.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/schema/schema_truncate.c
ar rcsTD build/59f4f0dd/mongo/db/repl/liblocal_oplog_info.a build/59f4f0dd/mongo/db/repl/local_oplog_info.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/liblocal_oplog_info.a
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lrintd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lrintd.c
c++ -o build/59f4f0dd/mongo/db/s/config/configsvr_merge_chunks_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/config/configsvr_merge_chunks_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/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/data_replicator_external_state_impl.h:32,
                 from src/mongo/db/repl/data_replicator_external_state_impl.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/util/cmdline_utils/censor_cmdline.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/cmdline_utils/censor_cmdline.cpp
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/data_replicator_external_state_impl.h:32,
                 from src/mongo/db/repl/data_replicator_external_state_impl.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/pipeline/field_path.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/field_path.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/pipeline/javascript_execution.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/javascript_execution.cpp
ar rcsTD build/59f4f0dd/mongo/db/stats/libserver_read_concern_write_concern_metrics.a build/59f4f0dd/mongo/db/stats/server_read_concern_metrics.o build/59f4f0dd/mongo/db/stats/server_write_concern_metrics.o build/59f4f0dd/mongo/db/stats/read_concern_stats_gen.o build/59f4f0dd/mongo/db/stats/server_write_concern_metrics_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/stats/libserver_read_concern_write_concern_metrics.a
c++ -o build/59f4f0dd/mongo/db/pipeline/expression_context.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/expression_context.cpp
ar rcsTD build/59f4f0dd/mongo/db/pipeline/libfield_path.a build/59f4f0dd/mongo/db/pipeline/field_path.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/pipeline/libfield_path.a
c++ -o build/59f4f0dd/mongo/db/pipeline/variables.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/variables.cpp
c++ -o build/59f4f0dd/mongo/db/generic_cursor_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/generic_cursor_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_merge_chunks_command.cpp:31:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/rpc/librewrite_state_change_errors.a build/59f4f0dd/mongo/rpc/rewrite_state_change_errors.o build/59f4f0dd/mongo/rpc/rewrite_state_change_errors_server_parameter_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/rpc/librewrite_state_change_errors.a
c++ -o build/59f4f0dd/mongo/base/shim.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/base/shim.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/s/config/configsvr_merge_chunks_command.cpp:31:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/commands/refresh_sessions_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/refresh_sessions_command.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_merge_chunks_command.cpp:31:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/commands/parse_log_component_settings.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/parse_log_component_settings.cpp
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_merge_chunks_command.cpp:31:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/commands/rename_collection_common.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/rename_collection_common.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/59f4f0dd/mongo/db/generic_cursor_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/pipeline/expression_context.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/generic_cursor_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/generic_cursor_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/generic_cursor_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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:37,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/stub_mongo_process_interface.h:32,
                 from src/mongo/db/pipeline/expression_context.cpp:35:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/commands/update_metrics.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/update_metrics.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:37,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/stub_mongo_process_interface.h:32,
                 from src/mongo/db/pipeline/expression_context.cpp:35:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/stub_mongo_process_interface.h:32,
                 from src/mongo/db/pipeline/expression_context.cpp:35:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
Generating build/59f4f0dd/mongo/db/commands/parameters_gen.cpp
In file included from src/mongo/db/matcher/expression_parser.h:39,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/stub_mongo_process_interface.h:32,
                 from src/mongo/db/pipeline/expression_context.cpp:35:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Generating build/59f4f0dd/mongo/idl/server_parameter_gen.cpp
ar rcsTD build/59f4f0dd/mongo/db/repl/libdata_replicator_external_state_impl.a build/59f4f0dd/mongo/db/repl/data_replicator_external_state_impl.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libdata_replicator_external_state_impl.a
c++ -o build/59f4f0dd/mongo/db/commands/find_and_modify_common.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/find_and_modify_common.cpp
c++ -o build/59f4f0dd/mongo/db/commands/parameters.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/parameters.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 src/mongo/db/commands/refresh_sessions_command.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/refresh_sessions_command.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/refresh_sessions_command.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/commands/parameters_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/commands/parameters_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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: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/refresh_sessions_command.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/commands/refresh_logical_session_cache_now.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/refresh_logical_session_cache_now.cpp
c++ -o build/59f4f0dd/mongo/db/commands/generic_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/commands/generic_gen.cpp
c++ -o build/59f4f0dd/mongo/db/commands/kill_all_sessions_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/kill_all_sessions_command.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/find_and_modify_common.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/commands/parameters.cpp:43:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/commands/find_and_modify_common.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/find_and_modify_common.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/find_and_modify_common.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from src/mongo/db/commands/parameters.cpp:43:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/parameters.cpp:43:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/refresh_logical_session_cache_now.cpp:33:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/commands/parameters.cpp:43:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/commands/parameters_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/commands/generic_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/refresh_logical_session_cache_now.cpp:33:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/refresh_logical_session_cache_now.cpp:33:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/refresh_logical_session_cache_now.cpp:33:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from build/59f4f0dd/mongo/db/commands/parameters_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
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/59f4f0dd/mongo/db/commands/generic_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616: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/59f4f0dd/mongo/db/commands/generic_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from build/59f4f0dd/mongo/db/commands/parameters_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from build/59f4f0dd/mongo/db/commands/generic_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/commands/parameters_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/pipeline/libexpression_context.a build/59f4f0dd/mongo/db/pipeline/expression_context.o build/59f4f0dd/mongo/db/pipeline/javascript_execution.o build/59f4f0dd/mongo/db/pipeline/variables.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/pipeline/libexpression_context.a
Generating build/59f4f0dd/mongo/s/request_types/wait_for_fail_point_gen.cpp
c++ -o build/59f4f0dd/mongo/db/commands/fail_point_cmd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/fail_point_cmd.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 src/mongo/db/commands/kill_all_sessions_command.cpp:39:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/commands/end_sessions_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/end_sessions_command.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/commands/kill_all_sessions_command.cpp:39:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/kill_all_sessions_command.cpp:39:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/kill_all_sessions_command.cpp:39:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Generating build/59f4f0dd/mongo/db/logical_clock_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/logical_clock_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/logical_clock_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/scripting/mozjs/base.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/base.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/fail_point_cmd.cpp:36:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 src/mongo/db/commands/end_sessions_command.cpp:35:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/fail_point_cmd.cpp:36:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574: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/end_sessions_command.cpp:35:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
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/fail_point_cmd.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_bid128.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_bid128.c
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/fail_point_cmd.cpp:36:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/end_sessions_command.cpp:35:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
gcc -o build/59f4f0dd/third_party/libstemmer_c/src_c/stem_UTF_8_hungarian.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -fno-strict-overflow -DNDEBUG -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/libstemmer_c/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/libstemmer_c/src_c/stem_UTF_8_hungarian.c
c++ -o build/59f4f0dd/mongo/client/mongo_uri_connect.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/mongo_uri_connect.cpp
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/end_sessions_command.cpp:35:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/util/net/ssl_parameters.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/net/ssl_parameters.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/59f4f0dd/mongo/db/logical_clock_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
gcc -o build/59f4f0dd/third_party/wiredtiger/src/block/block_ckpt_scan.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/block/block_ckpt_scan.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_llrintd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_llrintd.c
ar rcsTD build/59f4f0dd/third_party/abseil-cpp-master/libabsl_container.a build/59f4f0dd/third_party/abseil-cpp-master/abseil-cpp/absl/container/internal/raw_hash_set.o
Skipping ranlib for thin archive build/59f4f0dd/third_party/abseil-cpp-master/libabsl_container.a
c++ -o build/59f4f0dd/mongo/s/client/parallel.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/client/parallel.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/59f4f0dd/mongo/db/logical_clock_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/logical_clock_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/logical_clock_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Generating build/59f4f0dd/mongo/s/client/shard_connection_gen.cpp
c++ -o build/59f4f0dd/mongo/s/client/shard_connection_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/s/client/shard_connection_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/s/client/shard_connection.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/client/shard_connection.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/client/replica_set_change_notifier.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/replica_set_change_notifier.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/commands/libcore.a build/59f4f0dd/mongo/db/commands/end_sessions_command.o build/59f4f0dd/mongo/db/commands/fail_point_cmd.o build/59f4f0dd/mongo/db/commands/find_and_modify_common.o build/59f4f0dd/mongo/db/commands/generic.o build/59f4f0dd/mongo/db/commands/hashcmd.o build/59f4f0dd/mongo/db/commands/kill_all_sessions_by_pattern_command.o build/59f4f0dd/mongo/db/commands/kill_all_sessions_command.o build/59f4f0dd/mongo/db/commands/kill_sessions_command.o build/59f4f0dd/mongo/db/commands/parameters.o build/59f4f0dd/mongo/db/commands/parse_log_component_settings.o build/59f4f0dd/mongo/db/commands/refresh_logical_session_cache_now.o build/59f4f0dd/mongo/db/commands/refresh_sessions_command.o build/59f4f0dd/mongo/db/commands/rename_collection_common.o build/59f4f0dd/mongo/db/commands/start_session_command.o build/59f4f0dd/mongo/db/commands/update_metrics.o build/59f4f0dd/mongo/db/commands/parameters_gen.o build/59f4f0dd/mongo/db/commands/sessions_commands_gen.o build/59f4f0dd/mongo/db/commands/generic_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/commands/libcore.a
c++ -o build/59f4f0dd/mongo/db/pipeline/exchange_spec_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/pipeline/exchange_spec_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 build/59f4f0dd/mongo/s/client/shard_connection_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
gcc -o build/59f4f0dd/third_party/wiredtiger/src/conn/conn_log.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/conn/conn_log.c
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/59f4f0dd/mongo/s/client/shard_connection_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/s/client/shard_connection_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/s/query/async_results_merger_params_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/s/query/async_results_merger_params_gen.cpp
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/s/client/shard_connection_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/bson/dotted_path_support.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/bson/dotted_path_support.cpp
c++ -o build/59f4f0dd/mongo/db/commands/top_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/top_command.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/59f4f0dd/mongo/db/pipeline/exchange_spec_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/client/shard_connection.cpp:49:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/client/shard_connection.cpp:49:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/pipeline/exchange_spec_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616: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/client/shard_connection.cpp:49:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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: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/59f4f0dd/mongo/db/pipeline/exchange_spec_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/util/base64.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/base64.cpp
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
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/59f4f0dd/mongo/db/pipeline/exchange_spec_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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/client/shard_connection.cpp:49:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
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/59f4f0dd/mongo/s/query/async_results_merger_params_gen.h:24,
                 from build/59f4f0dd/mongo/s/query/async_results_merger_params_gen.cpp:9:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/s/query/async_results_merger_params_gen.h:24,
                 from build/59f4f0dd/mongo/s/query/async_results_merger_params_gen.cpp:9:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_string.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_string.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/clientcursor.h:40,
                 from src/mongo/db/query/cursor_response.h:36,
                 from build/59f4f0dd/mongo/s/query/async_results_merger_params_gen.h:24,
                 from build/59f4f0dd/mongo/s/query/async_results_merger_params_gen.cpp:9:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/s/query/async_results_merger_params_gen.h:24,
                 from build/59f4f0dd/mongo/s/query/async_results_merger_params_gen.cpp:9:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/commands/top_command.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/snapshot_window_options.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/snapshot_window_options.cpp
Generating build/59f4f0dd/mongo/db/snapshot_window_options_gen.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/commands/top_command.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/snapshot_window_options_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/snapshot_window_options_gen.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/top_command.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/top_command.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/third_party/wiredtiger/src/btree/bt_compact.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/btree/bt_compact.c
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/util/net/ocsp/ocsp_manager.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/net/ocsp/ocsp_manager.cpp
c++ -o build/59f4f0dd/mongo/db/s/operation_sharding_state.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/operation_sharding_state.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/matcher/path_internal.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/path_internal.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/storage/devnull/libstorage_devnull_core.a build/59f4f0dd/mongo/db/storage/devnull/devnull_kv_engine.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/devnull/libstorage_devnull_core.a
c++ -o build/59f4f0dd/mongo/executor/network_interface_tl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/executor/network_interface_tl.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/snapshot_window_options_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/util/signal_win32.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/signal_win32.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/59f4f0dd/mongo/db/snapshot_window_options_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/snapshot_window_options_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/snapshot_window_options_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/pipeline/expression_trigonometric.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/expression_trigonometric.cpp
ar rcsTD build/59f4f0dd/mongo/s/libsharding_legacy_api.a build/59f4f0dd/mongo/s/client/parallel.o build/59f4f0dd/mongo/s/client/shard_connection.o build/59f4f0dd/mongo/s/client/shard_connection_gen.o build/59f4f0dd/mongo/s/client/version_manager.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/libsharding_legacy_api.a
c++ -o build/59f4f0dd/mongo/db/catalog/validate_state.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/validate_state.cpp
c++ -o build/59f4f0dd/mongo/db/session_catalog.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/session_catalog.cpp
c++ -o build/59f4f0dd/mongo/rpc/op_msg.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/rpc/op_msg.cpp
ar rcsTD build/59f4f0dd/mongo/s/libis_mongos.a build/59f4f0dd/mongo/s/is_mongos.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/libis_mongos.a
gcc -o build/59f4f0dd/third_party/wiredtiger/src/support/lock_ext.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/support/lock_ext.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/os_posix/os_dlopen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/os_posix/os_dlopen.c
c++ -o build/59f4f0dd/mongo/client/connpool.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/connpool.cpp
c++ -o build/59f4f0dd/mongo/db/commands/list_collections_filter.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/list_collections_filter.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/pipeline/expression.h:47,
                 from src/mongo/db/pipeline/expression_trigonometric.h:32,
                 from src/mongo/db/pipeline/expression_trigonometric.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
In file included from src/mongo/db/pipeline/expression_trigonometric.h:32,
                 from src/mongo/db/pipeline/expression_trigonometric.cpp:32:
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionArcCosine]':
src/mongo/db/pipeline/expression_trigonometric.cpp:74:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
  350 |         return std::move(expr);
      |                              ^
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionArcSine]':
src/mongo/db/pipeline/expression_trigonometric.cpp:76:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionHyperbolicArcTangent]':
src/mongo/db/pipeline/expression_trigonometric.cpp:78:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionHyperbolicArcCosine]':
src/mongo/db/pipeline/expression_trigonometric.cpp:80:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionCosine]':
src/mongo/db/pipeline/expression_trigonometric.cpp:86:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionSine]':
src/mongo/db/pipeline/expression_trigonometric.cpp:92:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionTangent]':
src/mongo/db/pipeline/expression_trigonometric.cpp:98:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionArcTangent]':
src/mongo/db/pipeline/expression_trigonometric.cpp:134:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionHyperbolicArcSine]':
src/mongo/db/pipeline/expression_trigonometric.cpp:135:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionHyperbolicCosine]':
src/mongo/db/pipeline/expression_trigonometric.cpp:136:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionHyperbolicSine]':
src/mongo/db/pipeline/expression_trigonometric.cpp:137:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionHyperbolicTangent]':
src/mongo/db/pipeline/expression_trigonometric.cpp:138:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionArcTangent2]':
src/mongo/db/pipeline/expression_trigonometric.cpp:179:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionDegreesToRadians]':
src/mongo/db/pipeline/expression_trigonometric.cpp:218:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionRadiansToDegrees]':
src/mongo/db/pipeline/expression_trigonometric.cpp:239:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350: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/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/catalog/validate_state.h:35,
                 from src/mongo/db/catalog/validate_state.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/commands/liblist_collections_filter.a build/59f4f0dd/mongo/db/commands/list_collections_filter.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/commands/liblist_collections_filter.a
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int8.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int8.c
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/catalog/validate_state.h:35,
                 from src/mongo/db/catalog/validate_state.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/libsnapshot_window_options.a build/59f4f0dd/mongo/db/snapshot_window_options.o build/59f4f0dd/mongo/db/snapshot_window_options_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libsnapshot_window_options.a
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_frexp.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_frexp.c
c++ -o build/59f4f0dd/mongo/db/commands/set_profiling_filter_globally_cmd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/set_profiling_filter_globally_cmd.cpp
c++ -o build/59f4f0dd/mongo/db/commands/profile_common.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/profile_common.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_raii.h:33,
                 from src/mongo/db/catalog/validate_state.h:35,
                 from src/mongo/db/catalog/validate_state.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/catalog/validate_state.h:35,
                 from src/mongo/db/catalog/validate_state.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/third_party/shim_intel_decimal128.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/shim_intel_decimal128.cpp
ar rcsTD build/59f4f0dd/third_party/libshim_intel_decimal128.a build/59f4f0dd/third_party/shim_intel_decimal128.o
Skipping ranlib for thin archive build/59f4f0dd/third_party/libshim_intel_decimal128.a
c++ -o build/59f4f0dd/mongo/util/boost_assert_shim.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/boost_assert_shim.cpp
c++ -o build/59f4f0dd/mongo/db/pipeline/process_interface/mongos_process_interface.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/process_interface/mongos_process_interface.cpp
c++ -o build/59f4f0dd/mongo/util/net/ssl_types.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/net/ssl_types.cpp
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_tee_consumer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_tee_consumer.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/commands/set_profiling_filter_globally_cmd.h:33,
                 from src/mongo/db/commands/set_profiling_filter_globally_cmd.cpp:31:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_merge.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_merge.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/commands/set_profiling_filter_globally_cmd.h:33,
                 from src/mongo/db/commands/set_profiling_filter_globally_cmd.cpp:31:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/commands/profile_common.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/commands/profile_common.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/commands/set_profiling_filter_globally_cmd.h:33,
                 from src/mongo/db/commands/set_profiling_filter_globally_cmd.cpp:31:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/set_profiling_filter_globally_cmd.h:33,
                 from src/mongo/db/commands/set_profiling_filter_globally_cmd.cpp:31:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/util/net/libssl_types.a build/59f4f0dd/mongo/util/net/ssl_types.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/net/libssl_types.a
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_documents.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_documents.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/commands/profile_common.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/profile_common.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/executor/libnetwork_interface_tl.a build/59f4f0dd/mongo/executor/connection_pool_tl.o build/59f4f0dd/mongo/executor/network_interface_tl.o build/59f4f0dd/mongo/executor/network_interface_tl_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/executor/libnetwork_interface_tl.a
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_queue.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_queue.cpp
In file included from src/mongo/db/matcher/expression_parser.h:37,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/mongos_process_interface.h:33,
                 from src/mongo/db/pipeline/process_interface/mongos_process_interface.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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_tee_consumer.h:35,
                 from src/mongo/db/pipeline/document_source_tee_consumer.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_list_cached_and_active_users.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_list_cached_and_active_users.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/mongos_process_interface.h:33,
                 from src/mongo/db/pipeline/process_interface/mongos_process_interface.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/mongos_process_interface.h:33,
                 from src/mongo/db/pipeline/process_interface/mongos_process_interface.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/pipeline/document_source_writer.h:36,
                 from src/mongo/db/pipeline/document_source_merge.h:33,
                 from src/mongo/db/pipeline/document_source_merge.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/matcher/expression_with_placeholder.h:37,
                 from src/mongo/db/matcher/expression_parser.h:40,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/mongos_process_interface.h:33,
                 from src/mongo/db/pipeline/process_interface/mongos_process_interface.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595: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/document_source_tee_consumer.h:35,
                 from src/mongo/db/pipeline/document_source_tee_consumer.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616: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_single_document_transformation.h:34,
                 from src/mongo/db/pipeline/document_source_documents.h:32,
                 from src/mongo/db/pipeline/document_source_documents.cpp:30:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/pipeline/document_source_writer.h:36,
                 from src/mongo/db/pipeline/document_source_merge.h:33,
                 from src/mongo/db/pipeline/document_source_merge.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_tee_consumer.h:35,
                 from src/mongo/db/pipeline/document_source_tee_consumer.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tee_consumer.h:35,
                 from src/mongo/db/pipeline/document_source_tee_consumer.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/pipeline/document_source.h:45,
                 from src/mongo/db/pipeline/document_source_single_document_transformation.h:34,
                 from src/mongo/db/pipeline/document_source_documents.h:32,
                 from src/mongo/db/pipeline/document_source_documents.cpp:30:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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_queue.h:34,
                 from src/mongo/db/pipeline/document_source_queue.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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_raii.h:33,
                 from src/mongo/db/db_raii.h:34,
                 from src/mongo/db/pipeline/document_source_writer.h:36,
                 from src/mongo/db/pipeline/document_source_merge.h:33,
                 from src/mongo/db/pipeline/document_source_merge.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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: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/pipeline/document_source_writer.h:36,
                 from src/mongo/db/pipeline/document_source_merge.h:33,
                 from src/mongo/db/pipeline/document_source_merge.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_single_document_transformation.h:34,
                 from src/mongo/db/pipeline/document_source_documents.h:32,
                 from src/mongo/db/pipeline/document_source_documents.cpp:30:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_single_document_transformation.h:34,
                 from src/mongo/db/pipeline/document_source_documents.h:32,
                 from src/mongo/db/pipeline/document_source_documents.cpp:30:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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_queue.h:34,
                 from src/mongo/db/pipeline/document_source_queue.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_queue.h:34,
                 from src/mongo/db/pipeline/document_source_queue.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_queue.h:34,
                 from src/mongo/db/pipeline/document_source_queue.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_count.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_count.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/pipeline/document_source.h:45,
                 from src/mongo/db/pipeline/document_source_list_cached_and_active_users.h:35,
                 from src/mongo/db/pipeline/document_source_list_cached_and_active_users.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/commands/libprofile_common.a build/59f4f0dd/mongo/db/commands/profile_common.o build/59f4f0dd/mongo/db/commands/profile_gen.o build/59f4f0dd/mongo/db/profile_filter_impl.o build/59f4f0dd/mongo/db/commands/set_profiling_filter_globally_cmd.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/commands/libprofile_common.a
Generating build/59f4f0dd/mongo/db/pipeline/document_source_union_with_gen.cpp
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_union_with.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_union_with.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_list_cached_and_active_users.h:35,
                 from src/mongo/db/pipeline/document_source_list_cached_and_active_users.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_list_cached_and_active_users.h:35,
                 from src/mongo/db/pipeline/document_source_list_cached_and_active_users.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_list_cached_and_active_users.h:35,
                 from src/mongo/db/pipeline/document_source_list_cached_and_active_users.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 src/mongo/db/pipeline/document_source.h:45,
                 from src/mongo/db/pipeline/document_source_count.h:32,
                 from src/mongo/db/pipeline/document_source_count.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/document_source_count.h:32,
                 from src/mongo/db/pipeline/document_source_count.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_count.h:32,
                 from src/mongo/db/pipeline/document_source_count.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_facet.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_facet.cpp
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_count.h:32,
                 from src/mongo/db/pipeline/document_source_count.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/pipeline/document_source.h:45,
                 from src/mongo/db/pipeline/document_source_single_document_transformation.h:34,
                 from src/mongo/db/pipeline/document_source_documents.h:32,
                 from src/mongo/db/pipeline/document_source_union_with.cpp:36:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_geo_near.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_geo_near.cpp
c++ -o build/59f4f0dd/mongo/db/pipeline/tee_buffer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/tee_buffer.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/pipeline/document_source.h:45,
                 from src/mongo/db/pipeline/document_source_single_document_transformation.h:34,
                 from src/mongo/db/pipeline/document_source_documents.h:32,
                 from src/mongo/db/pipeline/document_source_union_with.cpp:36:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_single_document_transformation.h:34,
                 from src/mongo/db/pipeline/document_source_documents.h:32,
                 from src/mongo/db/pipeline/document_source_union_with.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_single_document_transformation.h:34,
                 from src/mongo/db/pipeline/document_source_documents.h:32,
                 from src/mongo/db/pipeline/document_source_union_with.cpp:36:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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:39,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/mongos_process_interface.h:33,
                 from src/mongo/db/pipeline/process_interface/mongos_process_interface.cpp:34:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/pipeline/pipeline.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/pipeline.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/pipeline/document_source.h:45,
                 from src/mongo/db/pipeline/tee_buffer.h:37,
                 from src/mongo/db/pipeline/tee_buffer.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/pipeline/process_interface/libmongos_process_interface.a build/59f4f0dd/mongo/db/pipeline/process_interface/mongos_process_interface.o
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/pipeline/process_interface/libmongos_process_interface.a
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_plan_cache_stats.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_plan_cache_stats.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/tee_buffer.h:37,
                 from src/mongo/db/pipeline/tee_buffer.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/tee_buffer.h:37,
                 from src/mongo/db/pipeline/tee_buffer.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/tee_buffer.h:37,
                 from src/mongo/db/pipeline/tee_buffer.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
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_facet.h:37,
                 from src/mongo/db/pipeline/document_source_facet.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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_geo_near.h:32,
                 from src/mongo/db/pipeline/document_source_geo_near.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/pipeline/document_source.h:45,
                 from src/mongo/db/pipeline/document_source_facet.h:37,
                 from src/mongo/db/pipeline/document_source_facet.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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_geo_near.h:32,
                 from src/mongo/db/pipeline/document_source_geo_near.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574: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_facet.h:37,
                 from src/mongo/db/pipeline/document_source_facet.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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_geo_near.h:32,
                 from src/mongo/db/pipeline/document_source_geo_near.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_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_facet.h:37,
                 from src/mongo/db/pipeline/document_source_facet.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_geo_near.h:32,
                 from src/mongo/db/pipeline/document_source_geo_near.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_add_fields.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_add_fields.cpp
In file included from src/mongo/db/matcher/expression_parser.h:37,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/pipeline.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/pipeline/search_helper.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/search_helper.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/pipeline.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/pipeline.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/pipeline.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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_plan_cache_stats.h:32,
                 from src/mongo/db/pipeline/document_source_plan_cache_stats.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_change_stream.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_change_stream.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/pipeline/document_source.h:45,
                 from src/mongo/db/pipeline/document_source_plan_cache_stats.h:32,
                 from src/mongo/db/pipeline/document_source_plan_cache_stats.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_plan_cache_stats.h:32,
                 from src/mongo/db/pipeline/document_source_plan_cache_stats.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_plan_cache_stats.h:32,
                 from src/mongo/db/pipeline/document_source_plan_cache_stats.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_graph_lookup.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_graph_lookup.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/pipeline/document_source.h:45,
                 from src/mongo/db/pipeline/document_source_single_document_transformation.h:34,
                 from src/mongo/db/pipeline/document_source_add_fields.h:32,
                 from src/mongo/db/pipeline/document_source_add_fields.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:37,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/search_helper.h:32,
                 from src/mongo/db/pipeline/search_helper.cpp:30:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/search_helper.h:32,
                 from src/mongo/db/pipeline/search_helper.cpp:30:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/search_helper.h:32,
                 from src/mongo/db/pipeline/search_helper.cpp:30:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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_single_document_transformation.h:34,
                 from src/mongo/db/pipeline/document_source_add_fields.h:32,
                 from src/mongo/db/pipeline/document_source_add_fields.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/search_helper.h:32,
                 from src/mongo/db/pipeline/search_helper.cpp:30:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_single_document_transformation.h:34,
                 from src/mongo/db/pipeline/document_source_add_fields.h:32,
                 from src/mongo/db/pipeline/document_source_add_fields.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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: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_single_document_transformation.h:34,
                 from src/mongo/db/pipeline/document_source_add_fields.h:32,
                 from src/mongo/db/pipeline/document_source_add_fields.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/pipeline/document_source.h:45,
                 from src/mongo/db/pipeline/document_source_change_stream.h:34,
                 from src/mongo/db/pipeline/document_source_change_stream.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/document_source_change_stream.h:34,
                 from src/mongo/db/pipeline/document_source_change_stream.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_change_stream.h:34,
                 from src/mongo/db/pipeline/document_source_change_stream.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_change_stream.h:34,
                 from src/mongo/db/pipeline/document_source_change_stream.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_internal_split_pipeline.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_internal_split_pipeline.cpp
In file included from src/mongo/db/matcher/expression_parser.h:39,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/pipeline.cpp:32:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 src/mongo/db/pipeline/document_source.h:45,
                 from src/mongo/db/pipeline/document_source_graph_lookup.h:33,
                 from src/mongo/db/pipeline/document_source_graph_lookup.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_change_stream_close_cursor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_change_stream_close_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/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_graph_lookup.h:33,
                 from src/mongo/db/pipeline/document_source_graph_lookup.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_graph_lookup.h:33,
                 from src/mongo/db/pipeline/document_source_graph_lookup.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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:39,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/search_helper.h:32,
                 from src/mongo/db/pipeline/search_helper.cpp:30:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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: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_graph_lookup.h:33,
                 from src/mongo/db/pipeline/document_source_graph_lookup.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_unwind.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_unwind.cpp
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_out.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_out.cpp
src/mongo/db/pipeline/document_source_graph_lookup.cpp: In static member function 'static boost::intrusive_ptr<mongo::DocumentSource> mongo::DocumentSourceGraphLookUp::createFromBson(mongo::BSONElement, const boost::intrusive_ptr<mongo::ExpressionContext>&)':
src/mongo/db/pipeline/document_source_graph_lookup.cpp:604:21: warning: redundant move in return statement [-Wredundant-move]
  604 |     return std::move(newSource);
      |            ~~~~~~~~~^~~~~~~~~~~
src/mongo/db/pipeline/document_source_graph_lookup.cpp:604:21: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_match.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_match.cpp
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_coll_stats.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_coll_stats.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/pipeline/document_source.h:45,
                 from src/mongo/db/pipeline/document_source_change_stream_close_cursor.h:33,
                 from src/mongo/db/pipeline/document_source_change_stream_close_cursor.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/pipeline/document_source.h:45,
                 from src/mongo/db/pipeline/document_source_change_stream_close_cursor.h:33,
                 from src/mongo/db/pipeline/document_source_change_stream_close_cursor.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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_graph_lookup.h:33,
                 from src/mongo/db/pipeline/document_source_graph_lookup.cpp:32:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_change_stream_close_cursor.h:33,
                 from src/mongo/db/pipeline/document_source_change_stream_close_cursor.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_change_stream_close_cursor.h:33,
                 from src/mongo/db/pipeline/document_source_change_stream_close_cursor.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/pipeline/document_source.h:45,
                 from src/mongo/db/pipeline/document_source_internal_split_pipeline.h:32,
                 from src/mongo/db/pipeline/document_source_internal_split_pipeline.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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_unwind.h:32,
                 from src/mongo/db/pipeline/document_source_unwind.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/document_source_internal_split_pipeline.h:32,
                 from src/mongo/db/pipeline/document_source_internal_split_pipeline.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_internal_split_pipeline.h:32,
                 from src/mongo/db/pipeline/document_source_internal_split_pipeline.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_internal_split_pipeline.h:32,
                 from src/mongo/db/pipeline/document_source_internal_split_pipeline.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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_unwind.h:32,
                 from src/mongo/db/pipeline/document_source_unwind.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_unwind.h:32,
                 from src/mongo/db/pipeline/document_source_unwind.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_unwind.h:32,
                 from src/mongo/db/pipeline/document_source_unwind.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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:37,
                 from src/mongo/db/matcher/matcher.h:36,
                 from src/mongo/db/pipeline/document_source_match.h:37,
                 from src/mongo/db/pipeline/document_source_match.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/matcher/matcher.h:36,
                 from src/mongo/db/pipeline/document_source_match.h:37,
                 from src/mongo/db/pipeline/document_source_match.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/matcher.h:36,
                 from src/mongo/db/pipeline/document_source_match.h:37,
                 from src/mongo/db/pipeline/document_source_match.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_redact.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_redact.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_raii.h:33,
                 from src/mongo/db/db_raii.h:34,
                 from src/mongo/db/pipeline/document_source_writer.h:36,
                 from src/mongo/db/pipeline/document_source_out.h:32,
                 from src/mongo/db/pipeline/document_source_out.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/matcher.h:36,
                 from src/mongo/db/pipeline/document_source_match.h:37,
                 from src/mongo/db/pipeline/document_source_match.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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_raii.h:33,
                 from src/mongo/db/db_raii.h:34,
                 from src/mongo/db/pipeline/document_source_writer.h:36,
                 from src/mongo/db/pipeline/document_source_out.h:32,
                 from src/mongo/db/pipeline/document_source_out.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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_raii.h:33,
                 from src/mongo/db/db_raii.h:34,
                 from src/mongo/db/pipeline/document_source_writer.h:36,
                 from src/mongo/db/pipeline/document_source_out.h:32,
                 from src/mongo/db/pipeline/document_source_out.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/pipeline/document_source_writer.h:36,
                 from src/mongo/db/pipeline/document_source_out.h:32,
                 from src/mongo/db/pipeline/document_source_out.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_lookup_change_post_image.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_lookup_change_post_image.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/document_source_match.cpp:41:
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchObjectMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:85:25: warning: redundant move in return statement [-Wredundant-move]
   85 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:85:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchValueMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:140:25: warning: redundant move in return statement [-Wredundant-move]
  140 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:140:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::SizeMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:177:25: warning: redundant move in return statement [-Wredundant-move]
  177 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:177:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
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_coll_stats.h:32,
                 from src/mongo/db/pipeline/document_source_coll_stats.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 src/mongo/db/pipeline/document_source.h:45,
                 from src/mongo/db/pipeline/document_source_redact.h:32,
                 from src/mongo/db/pipeline/document_source_redact.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/document_source_redact.h:32,
                 from src/mongo/db/pipeline/document_source_redact.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_lookup.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_lookup.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/document_source_coll_stats.h:32,
                 from src/mongo/db/pipeline/document_source_coll_stats.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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_redact.h:32,
                 from src/mongo/db/pipeline/document_source_redact.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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_redact.h:32,
                 from src/mongo/db/pipeline/document_source_redact.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_sample.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_sample.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_coll_stats.h:32,
                 from src/mongo/db/pipeline/document_source_coll_stats.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_coll_stats.h:32,
                 from src/mongo/db/pipeline/document_source_coll_stats.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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:39,
                 from src/mongo/db/matcher/matcher.h:36,
                 from src/mongo/db/pipeline/document_source_match.h:37,
                 from src/mongo/db/pipeline/document_source_match.cpp:32:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_change_stream_transform.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_change_stream_transform.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/pipeline/document_source.h:45,
                 from src/mongo/db/pipeline/document_source_lookup_change_post_image.h:32,
                 from src/mongo/db/pipeline/document_source_lookup_change_post_image.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/pipeline/document_source.h:45,
                 from src/mongo/db/pipeline/document_source_lookup_change_post_image.h:32,
                 from src/mongo/db/pipeline/document_source_lookup_change_post_image.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
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_change_post_image.h:32,
                 from src/mongo/db/pipeline/document_source_lookup_change_post_image.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_change_post_image.h:32,
                 from src/mongo/db/pipeline/document_source_lookup_change_post_image.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_bucket.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_bucket.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/pipeline/document_source.h:45,
                 from src/mongo/db/pipeline/document_source_sample.h:32,
                 from src/mongo/db/pipeline/document_source_sample.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/document_source_sample.h:32,
                 from src/mongo/db/pipeline/document_source_sample.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_sample.h:32,
                 from src/mongo/db/pipeline/document_source_sample.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_sample.h:32,
                 from src/mongo/db/pipeline/document_source_sample.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_internal_shard_filter.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_internal_shard_filter.cpp
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::MatchExpression> 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 src/mongo/db/pipeline/document_source.h:45,
                 from src/mongo/db/pipeline/document_source_change_stream_transform.h:32,
                 from src/mongo/db/pipeline/document_source_change_stream_transform.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/document_source_change_stream_transform.h:32,
                 from src/mongo/db/pipeline/document_source_change_stream_transform.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_change_stream_transform.h:32,
                 from src/mongo/db/pipeline/document_source_change_stream_transform.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_change_stream_transform.h:32,
                 from src/mongo/db/pipeline/document_source_change_stream_transform.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 src/mongo/db/pipeline/document_source.h:45,
                 from src/mongo/db/pipeline/document_source_bucket.h:32,
                 from src/mongo/db/pipeline/document_source_bucket.cpp:30:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_single_document_transformation.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_single_document_transformation.cpp
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_sequential_document_cache.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_sequential_document_cache.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_bucket.h:32,
                 from src/mongo/db/pipeline/document_source_bucket.cpp:30:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_bucket.h:32,
                 from src/mongo/db/pipeline/document_source_bucket.cpp:30:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_bucket.h:32,
                 from src/mongo/db/pipeline/document_source_bucket.cpp:30:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/prepare_conflict_tracker.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/prepare_conflict_tracker.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 src/mongo/db/pipeline/document_source.h:45,
                 from src/mongo/db/pipeline/document_source_internal_shard_filter.h:33,
                 from src/mongo/db/pipeline/document_source_internal_shard_filter.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/document_source_internal_shard_filter.h:33,
                 from src/mongo/db/pipeline/document_source_internal_shard_filter.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_internal_shard_filter.h:33,
                 from src/mongo/db/pipeline/document_source_internal_shard_filter.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/bson/bsonobjbuilder.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/bson/bsonobjbuilder.cpp
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_internal_shard_filter.h:33,
                 from src/mongo/db/pipeline/document_source_internal_shard_filter.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/pipeline/document_source.h:45,
                 from src/mongo/db/pipeline/document_source_sequential_document_cache.h:32,
                 from src/mongo/db/pipeline/document_source_sequential_document_cache.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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_single_document_transformation.h:34,
                 from src/mongo/db/pipeline/document_source_single_document_transformation.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/document_source_sequential_document_cache.h:32,
                 from src/mongo/db/pipeline/document_source_sequential_document_cache.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_sequential_document_cache.h:32,
                 from src/mongo/db/pipeline/document_source_sequential_document_cache.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_sequential_document_cache.h:32,
                 from src/mongo/db/pipeline/document_source_sequential_document_cache.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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_single_document_transformation.h:34,
                 from src/mongo/db/pipeline/document_source_single_document_transformation.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_single_document_transformation.h:34,
                 from src/mongo/db/pipeline/document_source_single_document_transformation.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_single_document_transformation.h:34,
                 from src/mongo/db/pipeline/document_source_single_document_transformation.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/exec/subplan.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/subplan.cpp
ar rcsTD build/59f4f0dd/mongo/db/libprepare_conflict_tracker.a build/59f4f0dd/mongo/db/prepare_conflict_tracker.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libprepare_conflict_tracker.a
Generating build/59f4f0dd/mongo/s/request_types/auto_split_vector_gen.cpp
c++ -o build/59f4f0dd/mongo/db/s/auto_split_vector_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/auto_split_vector_command.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sin.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sin.c
c++ -o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_extensions.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_extensions.cpp
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sin.c: In function '__bid128_sin':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sin.c:12502:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
12502 |   if (e < -35)
      |      ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sin.c:12435:7: warning: unused variable 'i' [-Wunused-variable]
12435 |   int i, s, e;
      |       ^
ar rcsTD build/59f4f0dd/mongo/util/libwinutil.a build/59f4f0dd/mongo/util/winutil.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/libwinutil.a
gcc -o build/59f4f0dd/third_party/wiredtiger/src/lsm/lsm_tree.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/lsm/lsm_tree.c
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Generating build/59f4f0dd/mongo/client/sasl_aws_client_protocol_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/client/sasl_aws_client_protocol_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DKMS_MSG_STATIC -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/kms-message/src -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/client/sasl_aws_client_protocol_gen.cpp
c++ -o build/59f4f0dd/mongo/client/sasl_aws_client_protocol.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DKMS_MSG_STATIC -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/kms-message/src -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/sasl_aws_client_protocol.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bessel.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bessel.c
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bessel.c: In function '__dpml_bid_ux_large_order_bessel__':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bessel.c:484:54: warning: comparison of integer expressions of different signedness: 'UX_FRACTION_DIGIT_TYPE' {aka 'long long unsigned int'} and 'long long int' [-Wsign-compare]
  484 |         if ((0 < exp_diff) || ((0 == exp_diff) && (N < order)))
      |                                                      ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bessel.c:615:13: warning: comparison of integer expressions of different signedness: 'UX_FRACTION_DIGIT_TYPE' {aka 'long long unsigned int'} and 'long long int' [-Wsign-compare]
  615 |     N =  (N < (order + 1) ) ? (order + 1) : N;
      |             ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bessel.c:615:31: warning: operand of '?:' changes signedness from 'long long int' to 'UX_FRACTION_DIGIT_TYPE' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare]
  615 |     N =  (N < (order + 1) ) ? (order + 1) : N;
      |                               ^~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bessel.c:654:15: warning: comparison of integer expressions of different signedness: 'UX_FRACTION_DIGIT_TYPE' {aka 'long long unsigned int'} and 'long long int' [-Wsign-compare]
  654 |         if (N == order)
      |               ^~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bessel.c: In function '__dpml_bid_ux_bessel__':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bessel.c:1002:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 1002 |     if ( op = EXTR_BITS( EVEN_ODD_OP, eval_data) )
      |          ^~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bessel.c:898:23: warning: unused variable 'multiplier' [-Wunused-variable]
  898 |     UX_FLOAT tmp[3], *multiplier, *poly_argument;
      |                       ^~~~~~~~~~
c++ -o build/59f4f0dd/mongo/db/update/field_checker.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/update/field_checker.cpp
c++ -o build/59f4f0dd/mongo/db/update/path_support.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/update/path_support.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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/requires_all_indices_stage.h:32,
                 from src/mongo/db/exec/subplan.h:39,
                 from src/mongo/db/exec/subplan.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/pipeline/libpipeline.a build/59f4f0dd/mongo/db/pipeline/document_source.o build/59f4f0dd/mongo/db/pipeline/document_source_add_fields.o build/59f4f0dd/mongo/db/pipeline/document_source_bucket.o build/59f4f0dd/mongo/db/pipeline/document_source_bucket_auto.o build/59f4f0dd/mongo/db/pipeline/document_source_change_stream.o build/59f4f0dd/mongo/db/pipeline/document_source_change_stream_close_cursor.o build/59f4f0dd/mongo/db/pipeline/document_source_change_stream_transform.o build/59f4f0dd/mongo/db/pipeline/document_source_check_invalidate.o build/59f4f0dd/mongo/db/pipeline/document_source_check_resume_token.o build/59f4f0dd/mongo/db/pipeline/document_source_coll_stats.o build/59f4f0dd/mongo/db/pipeline/document_source_count.o build/59f4f0dd/mongo/db/pipeline/document_source_current_op.o build/59f4f0dd/mongo/db/pipeline/document_source_documents.o build/59f4f0dd/mongo/db/pipeline/document_source_exchange.o build/59f4f0dd/mongo/db/pipeline/document_source_facet.o build/59f4f0dd/mongo/db/pipeline/document_source_geo_near.o build/59f4f0dd/mongo/db/pipeline/document_source_graph_lookup.o build/59f4f0dd/mongo/db/pipeline/document_source_group.o build/59f4f0dd/mongo/db/pipeline/document_source_index_stats.o build/59f4f0dd/mongo/db/pipeline/document_source_internal_inhibit_optimization.o build/59f4f0dd/mongo/db/pipeline/document_source_internal_shard_filter.o build/59f4f0dd/mongo/db/pipeline/document_source_internal_split_pipeline.o build/59f4f0dd/mongo/db/pipeline/document_source_limit.o build/59f4f0dd/mongo/db/pipeline/document_source_list_cached_and_active_users.o build/59f4f0dd/mongo/db/pipeline/document_source_list_local_sessions.o build/59f4f0dd/mongo/db/pipeline/document_source_list_sessions.o build/59f4f0dd/mongo/db/pipeline/document_source_lookup.o build/59f4f0dd/mongo/db/pipeline/document_source_lookup_change_post_image.o build/59f4f0dd/mongo/db/pipeline/document_source_lookup_change_pre_image.o build/59f4f0dd/mongo/db/pipeline/document_source_match.o build/59f4f0dd/mongo/db/pipeline/document_source_merge.o build/59f4f0dd/mongo/db/pipeline/document_source_out.o build/59f4f0dd/mongo/db/pipeline/document_source_plan_cache_stats.o build/59f4f0dd/mongo/db/pipeline/document_source_project.o build/59f4f0dd/mongo/db/pipeline/document_source_queue.o build/59f4f0dd/mongo/db/pipeline/document_source_redact.o build/59f4f0dd/mongo/db/pipeline/document_source_replace_root.o build/59f4f0dd/mongo/db/pipeline/document_source_sample.o build/59f4f0dd/mongo/db/pipeline/document_source_sample_from_random_cursor.o build/59f4f0dd/mongo/db/pipeline/document_source_sequential_document_cache.o build/59f4f0dd/mongo/db/pipeline/document_source_single_document_transformation.o build/59f4f0dd/mongo/db/pipeline/document_source_skip.o build/59f4f0dd/mongo/db/pipeline/document_source_sort.o build/59f4f0dd/mongo/db/pipeline/document_source_sort_by_count.o build/59f4f0dd/mongo/db/pipeline/document_source_tee_consumer.o build/59f4f0dd/mongo/db/pipeline/document_source_union_with.o build/59f4f0dd/mongo/db/pipeline/document_source_unwind.o build/59f4f0dd/mongo/db/pipeline/pipeline.o build/59f4f0dd/mongo/db/pipeline/search_helper.o build/59f4f0dd/mongo/db/pipeline/semantic_analysis.o build/59f4f0dd/mongo/db/pipeline/sequential_document_cache.o build/59f4f0dd/mongo/db/pipeline/tee_buffer.o
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/requires_all_indices_stage.h:32,
                 from src/mongo/db/exec/subplan.h:39,
                 from src/mongo/db/exec/subplan.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/pipeline/libpipeline.a
c++ -o build/59f4f0dd/mongo/db/update/log_builder.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/update/log_builder.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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/requires_all_indices_stage.h:32,
                 from src/mongo/db/exec/subplan.h:39,
                 from src/mongo/db/exec/subplan.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/requires_all_indices_stage.h:32,
                 from src/mongo/db/exec/subplan.h:39,
                 from src/mongo/db/exec/subplan.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/commands/fsync_locked.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/fsync_locked.cpp
c++ -o build/59f4f0dd/mongo/db/catalog/collection_catalog_helper.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/collection_catalog_helper.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/auto_split_vector_command.cpp:33:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_sin.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_sin.c
c++ -o build/59f4f0dd/mongo/s/catalog/type_chunk.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/catalog/type_chunk.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/59f4f0dd/mongo/client/sasl_aws_client_protocol_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
gcc -o build/59f4f0dd/third_party/wiredtiger/src/block/block_write.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/block/block_write.c
c++ -o build/59f4f0dd/mongo/db/matcher/path.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/path.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/59f4f0dd/mongo/client/sasl_aws_client_protocol_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/auto_split_vector_command.cpp:33:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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/59f4f0dd/mongo/client/sasl_aws_client_protocol_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/59f4f0dd/mongo/client/sasl_aws_client_protocol_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/catalog/drop_database.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/drop_database.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/auto_split_vector_command.cpp:33:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/update/path_support.h:40,
                 from src/mongo/db/update/path_support.cpp:30:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
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/auto_split_vector_command.cpp:33:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/collection_catalog_helper.h:32,
                 from src/mongo/db/catalog/collection_catalog_helper.cpp:30:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/catalog/libindex_build_block.a build/59f4f0dd/mongo/db/catalog/index_build_block.o
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/collection_catalog_helper.h:32,
                 from src/mongo/db/catalog/collection_catalog_helper.cpp:30:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/catalog/libindex_build_block.a
c++ -o build/59f4f0dd/mongo/db/repl/rollback_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/repl/rollback_gen.cpp
ar rcsTD build/59f4f0dd/mongo/db/update/libupdate_common.a build/59f4f0dd/mongo/db/update/field_checker.o build/59f4f0dd/mongo/db/update/log_builder.o build/59f4f0dd/mongo/db/update/path_support.o build/59f4f0dd/mongo/db/update/storage_validation.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/update/libupdate_common.a
gcc -o build/59f4f0dd/third_party/wiredtiger/src/os_common/os_alloc.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/os_common/os_alloc.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/collection_catalog.h:36,
                 from src/mongo/db/catalog/collection_catalog_helper.h:32,
                 from src/mongo/db/catalog/collection_catalog_helper.cpp:30:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
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/collection_catalog_helper.h:32,
                 from src/mongo/db/catalog/collection_catalog_helper.cpp:30:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/s/balancer/cluster_statistics.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/balancer/cluster_statistics.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/catalog/drop_database.cpp:39:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/catalog/drop_database.cpp:39:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/client/libsasl_aws_client.a build/59f4f0dd/mongo/client/sasl_aws_client_protocol.o build/59f4f0dd/mongo/client/sasl_aws_client_protocol_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/client/libsasl_aws_client.a
c++ -o build/59f4f0dd/mongo/scripting/mozjs/mongohelpers.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/mongohelpers.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/database_holder.h:36,
                 from src/mongo/db/catalog/drop_database.cpp:39:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/catalog/drop_database.cpp:39:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/db/repl/rollback_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/s/metadata_manager.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/metadata_manager.cpp
c++ -o build/59f4f0dd/mongo/db/catalog/collection_options.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/collection_options.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod64.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod64.c
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/59f4f0dd/mongo/db/repl/rollback_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
In file included from /usr/include/ctype.h:97,
                 from src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_strtod.h:30,
                 from src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod64.c:30:
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_strtod.h: In function 'strtod_conversion':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_strtod.h:63:18: warning: array subscript has type 'char' [-Wchar-subscripts]
   63 |    while(isspace(*ps_in)) ps_in++;
      |                  ^
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/repl/rollback_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/repl/rollback_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/client/dbclient_cursor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/dbclient_cursor.cpp
ar rcsTD build/59f4f0dd/mongo/db/catalog/libcollection_catalog_helper.a build/59f4f0dd/mongo/db/catalog/collection_catalog_helper.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/catalog/libcollection_catalog_helper.a
c++ -o build/59f4f0dd/mongo/stdx/set_terminate_internals.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/stdx/set_terminate_internals.cpp
ar rcsTD build/59f4f0dd/mongo/stdx/libstdx.a build/59f4f0dd/mongo/stdx/set_terminate_internals.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/stdx/libstdx.a
c++ -o build/59f4f0dd/mongo/db/storage/flow_control_parameters_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/storage/flow_control_parameters_gen.cpp
c++ -o build/59f4f0dd/mongo/s/request_types/auto_split_vector_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/s/request_types/auto_split_vector_gen.cpp
c++ -o build/59f4f0dd/mongo/s/catalog/type_collection.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/catalog/type_collection.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 src/mongo/db/catalog/collection_options.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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 src/mongo/client/dbclient_cursor.cpp:46:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
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/catalog/collection_options.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/59f4f0dd/mongo/db/storage/flow_control_parameters_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/delete.h:32,
                 from src/mongo/db/query/internal_plans.h:33,
                 from src/mongo/db/s/metadata_manager.cpp:41:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616: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 src/mongo/client/dbclient_cursor.cpp:46:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
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/catalog/collection_options.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_tree.h:184:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h:352:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/catalog/collection_options.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/delete.h:32,
                 from src/mongo/db/query/internal_plans.h:33,
                 from src/mongo/db/s/metadata_manager.cpp:41:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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 src/mongo/client/dbclient_cursor.cpp:46:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/59f4f0dd/mongo/s/request_types/auto_split_vector_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/client/dbclient_cursor.cpp:46:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/third_party/s2/strings/strutil.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -Isrc/third_party/s2 -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/third_party/s2/strings/strutil.cc
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/59f4f0dd/mongo/db/storage/flow_control_parameters_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/storage/flow_control_parameters_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/storage/flow_control_parameters_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/delete.h:32,
                 from src/mongo/db/query/internal_plans.h:33,
                 from src/mongo/db/s/metadata_manager.cpp:41:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/delete.h:32,
                 from src/mongo/db/query/internal_plans.h:33,
                 from src/mongo/db/s/metadata_manager.cpp:41:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from build/59f4f0dd/mongo/s/request_types/auto_split_vector_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/s/query/router_stage_skip.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/query/router_stage_skip.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/s/request_types/auto_split_vector_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/s/request_types/auto_split_vector_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/update/array_culling_node.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/update/array_culling_node.cpp
c++ -o build/59f4f0dd/mongo/executor/task_executor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/executor/task_executor.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/exec/idhack.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/idhack.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/update/update_leaf_node.h:32,
                 from src/mongo/db/update/modifier_node.h:39,
                 from src/mongo/db/update/array_culling_node.h:35,
                 from src/mongo/db/update/array_culling_node.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/catalog/libcollection_options.a build/59f4f0dd/mongo/db/catalog/collection_options.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/catalog/libcollection_options.a
c++ -o build/59f4f0dd/mongo/client/remote_command_targeter_factory_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/remote_command_targeter_factory_impl.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/client/remote_command_targeter_rs.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/remote_command_targeter_rs.cpp
ar rcsTD build/59f4f0dd/mongo/executor/libtask_executor_interface.a build/59f4f0dd/mongo/executor/task_executor.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/executor/libtask_executor_interface.a
c++ -o build/59f4f0dd/mongo/client/remote_command_targeter_standalone.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/remote_command_targeter_standalone.cpp
c++ -o build/59f4f0dd/mongo/util/net/ssl_parameters_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/util/net/ssl_parameters_gen.cpp
c++ -o build/59f4f0dd/mongo/util/net/ssl_manager.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/net/ssl_manager.cpp
c++ -o build/59f4f0dd/mongo/db/operation_context_group.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/operation_context_group.cpp
c++ -o build/59f4f0dd/mongo/db/concurrency/write_conflict_exception.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/concurrency/write_conflict_exception.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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/requires_index_stage.h:32,
                 from src/mongo/db/exec/idhack.h:34,
                 from src/mongo/db/exec/idhack.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/requires_index_stage.h:32,
                 from src/mongo/db/exec/idhack.h:34,
                 from src/mongo/db/exec/idhack.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/requires_index_stage.h:32,
                 from src/mongo/db/exec/idhack.h:34,
                 from src/mongo/db/exec/idhack.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/requires_index_stage.h:32,
                 from src/mongo/db/exec/idhack.h:34,
                 from src/mongo/db/exec/idhack.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/rpc/metadata/logical_time_metadata.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/rpc/metadata/logical_time_metadata.cpp
c++ -o build/59f4f0dd/mongo/idl/server_parameter_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/idl/server_parameter_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 build/59f4f0dd/mongo/util/net/ssl_parameters_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/util/net/ssl_parameters_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/util/net/ssl_parameters_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/util/net/ssl_parameters_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/client/libremote_command_targeter.a build/59f4f0dd/mongo/client/remote_command_targeter_factory_impl.o build/59f4f0dd/mongo/client/remote_command_targeter_rs.o build/59f4f0dd/mongo/client/remote_command_targeter_standalone.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/client/libremote_command_targeter.a
gcc -o build/59f4f0dd/third_party/wiredtiger/src/support/thread_group.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/support/thread_group.c
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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/concurrency/write_conflict_exception.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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);
      |                ~~~~~~~~~^~~
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/util/net/ssl_manager.cpp:44:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:352:25: note: remove 'std::move' call
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/auth/user.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/user.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/concurrency/write_conflict_exception.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/s/sharding_task_executor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/sharding_task_executor.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/59f4f0dd/mongo/idl/server_parameter_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
gcc -o build/59f4f0dd/third_party/wiredtiger/src/reconcile/rec_col.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/reconcile/rec_col.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/collection_catalog.h:36,
                 from src/mongo/db/curop.h:35,
                 from src/mongo/db/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/concurrency/write_conflict_exception.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/concurrency/write_conflict_exception.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from build/59f4f0dd/mongo/idl/server_parameter_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
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/util/net/ssl_manager.cpp:44:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/util/net/ssl_manager.cpp:44:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_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/59f4f0dd/mongo/idl/server_parameter_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/commands/server_status.h:32,
                 from src/mongo/util/net/ssl_manager.cpp:44:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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: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/59f4f0dd/mongo/idl/server_parameter_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/s/shard_invalidated_for_targeting_exception.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/shard_invalidated_for_targeting_exception.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/util/net/ssl_manager.cpp: In function 'mongo::StatusWith<std::vector<std::vector<unsigned char> > > mongo::parseTLSFeature(mongo::ConstDataRange)':
src/mongo/util/net/ssl_manager.cpp:1100:21: warning: redundant move in return statement [-Wredundant-move]
 1100 |     return std::move(features);
      |            ~~~~~~~~~^~~~~~~~~~
src/mongo/util/net/ssl_manager.cpp:1100:21: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/feature_compatibility_version_metrics.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/feature_compatibility_version_metrics.cpp
gcc -o build/59f4f0dd/third_party/wiredtiger/src/schema/schema_stat.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/schema/schema_stat.c
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/scripting/mozjs/db.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/db.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/rpc/get_status_from_command_result.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/rpc/get_status_from_command_result.cpp
ar rcsTD build/59f4f0dd/mongo/db/auth/libuser.a build/59f4f0dd/mongo/db/auth/user.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/auth/libuser.a
c++ -o build/59f4f0dd/mongo/db/service_context.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/service_context.cpp
c++ -o build/59f4f0dd/mongo/scripting/mozjs/error.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/error.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/sharding_task_executor.cpp:48:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/util/net/ssl_manager.cpp:44:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/sharding_task_executor.cpp:48:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/concurrency/libwrite_conflict_exception.a build/59f4f0dd/mongo/db/concurrency/write_conflict_exception.o build/59f4f0dd/mongo/db/concurrency/write_conflict_exception_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/concurrency/libwrite_conflict_exception.a
c++ -o build/59f4f0dd/mongo/db/query/planner_wildcard_helpers.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/planner_wildcard_helpers.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/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/sharding_task_executor.cpp:48:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/sharding_task_executor.cpp:48:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/commands/server_status.h:32,
                 from src/mongo/db/feature_compatibility_version_metrics.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
gcc -o build/59f4f0dd/third_party/kms-message/src/kms_azure_request.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -DKMS_MSG_STATIC -DNDEBUG -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 -DKMS_MSG_STATIC -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -Isrc/third_party/kms-message/src -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/kms-message/src/kms_azure_request.c
c++ -o build/59f4f0dd/mongo/db/storage/recovery_unit.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/recovery_unit.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/commands/server_status.h:32,
                 from src/mongo/db/feature_compatibility_version_metrics.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/feature_compatibility_version_metrics.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/server_status.h:32,
                 from src/mongo/db/feature_compatibility_version_metrics.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/include/jspubtd.h:17,
                 from src/third_party/mozjs-60/include/jsapi.h:26,
                 from src/mongo/scripting/mozjs/wraptype.h:33,
                 from src/mongo/scripting/mozjs/db.h:32,
                 from src/mongo/scripting/mozjs/db.cpp:32:
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 = 1]':
src/third_party/mozjs-60/include/jsapi.h:85:30:   required from 'JS::AutoValueArray<N>::AutoValueArray(JSContext*) [with long unsigned int N = 1]'
src/mongo/scripting/mozjs/db.cpp:98: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/include/js/CallArgs.h:74,
                 from src/third_party/mozjs-60/include/jsapi.h:29,
                 from src/mongo/scripting/mozjs/wraptype.h:33,
                 from src/mongo/scripting/mozjs/db.h:32,
                 from src/mongo/scripting/mozjs/db.cpp:32:
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
      |                                ^~~~~
ar rcsTD build/59f4f0dd/mongo/util/net/libssl_manager.a build/59f4f0dd/mongo/util/net/private/ssl_expiration.o build/59f4f0dd/mongo/util/net/ssl_manager.o build/59f4f0dd/mongo/util/net/ssl_parameters.o build/59f4f0dd/mongo/util/net/ssl_manager_openssl.o build/59f4f0dd/mongo/util/net/ssl_stream.o build/59f4f0dd/mongo/util/net/ssl_parameters_gen.o build/59f4f0dd/mongo/util/net/ocsp/ocsp_manager.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/net/libssl_manager.a
c++ -o build/59f4f0dd/mongo/db/service_entry_point_common.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/service_entry_point_common.cpp
c++ -o build/59f4f0dd/mongo/logv2/plain_formatter.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/logv2/plain_formatter.cpp
c++ -o build/59f4f0dd/mongo/db/matcher/expression_algo.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/expression_algo.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/op_observer.h:35,
                 from src/mongo/db/service_context.cpp:44:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/op_observer.h:35,
                 from src/mongo/db/service_context.cpp:44:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:37,
                 from src/mongo/db/query/index_bounds_builder.h:34,
                 from src/mongo/db/query/planner_wildcard_helpers.h:36,
                 from src/mongo/db/query/planner_wildcard_helpers.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/query/index_bounds_builder.h:34,
                 from src/mongo/db/query/planner_wildcard_helpers.h:36,
                 from src/mongo/db/query/planner_wildcard_helpers.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/query/index_bounds_builder.h:34,
                 from src/mongo/db/query/planner_wildcard_helpers.h:36,
                 from src/mongo/db/query/planner_wildcard_helpers.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/query/index_bounds_builder.h:34,
                 from src/mongo/db/query/planner_wildcard_helpers.h:36,
                 from src/mongo/db/query/planner_wildcard_helpers.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/op_observer.h:35,
                 from src/mongo/db/service_context.cpp:44:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/op_observer.h:35,
                 from src/mongo/db/service_context.cpp:44:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/s/add_shard_cmd_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/s/add_shard_cmd_gen.cpp
In file included from src/mongo/db/matcher/expression_algo.cpp:35:
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchObjectMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:85:25: warning: redundant move in return statement [-Wredundant-move]
   85 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:85:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchValueMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:140:25: warning: redundant move in return statement [-Wredundant-move]
  140 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:140:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::SizeMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:177:25: warning: redundant move in return statement [-Wredundant-move]
  177 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:177:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_algo.cpp:36:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_algo.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_algo.cpp:38:
src/mongo/db/matcher/schema/expression_internal_schema_xor.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaXorMatchExpression::shallowClone() const':
src/mongo/db/matcher/schema/expression_internal_schema_xor.h:58:25: warning: redundant move in return statement [-Wredundant-move]
   58 |         return std::move(xorCopy);
      |                ~~~~~~~~~^~~~~~~~~
src/mongo/db/matcher/schema/expression_internal_schema_xor.h:58:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_algo.cpp: In function 'std::unique_ptr<mongo::MatchExpression> mongo::{anonymous}::createAndOfNodes(std::vector<std::unique_ptr<mongo::MatchExpression> >*)':
src/mongo/db/matcher/expression_algo.cpp:258:21: warning: redundant move in return statement [-Wredundant-move]
  258 |     return std::move(splitAnd);
      |            ~~~~~~~~~^~~~~~~~~~
src/mongo/db/matcher/expression_algo.cpp:258:21: note: remove 'std::move' call
src/mongo/db/matcher/expression_algo.cpp: In function 'std::unique_ptr<mongo::MatchExpression> mongo::{anonymous}::createNorOfNodes(std::vector<std::unique_ptr<mongo::MatchExpression> >*)':
src/mongo/db/matcher/expression_algo.cpp:274:21: warning: redundant move in return statement [-Wredundant-move]
  274 |     return std::move(splitNor);
      |            ~~~~~~~~~^~~~~~~~~~
src/mongo/db/matcher/expression_algo.cpp:274:21: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/s/libsharding_task_executor.a build/59f4f0dd/mongo/s/sharding_task_executor.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/libsharding_task_executor.a
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_logbd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_logbd.c
ar rcsTD build/59f4f0dd/mongo/db/libfeature_compatibility_version_metrics.a build/59f4f0dd/mongo/db/feature_compatibility_version_metrics.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libfeature_compatibility_version_metrics.a
c++ -o build/59f4f0dd/third_party/s2/base/int128.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -Isrc/third_party/s2 -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/third_party/s2/base/int128.cc
c++ -o build/59f4f0dd/mongo/db/query/view_response_formatter.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/view_response_formatter.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/service_entry_point_common.h:33,
                 from src/mongo/db/service_entry_point_common.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/logv2/console.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/logv2/console.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/service_entry_point_common.h:33,
                 from src/mongo/db/service_entry_point_common.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
In file included from src/mongo/db/matcher/expression_parser.h:39,
                 from src/mongo/db/query/index_bounds_builder.h:34,
                 from src/mongo/db/query/planner_wildcard_helpers.h:36,
                 from src/mongo/db/query/planner_wildcard_helpers.cpp:34:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/logical_session_id_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/logical_session_id_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/service_entry_point_common.h:33,
                 from src/mongo/db/service_entry_point_common.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/service_entry_point_common.h:33,
                 from src/mongo/db/service_entry_point_common.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/client/connection_string.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/connection_string.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/59f4f0dd/mongo/db/s/add_shard_cmd_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/transport/session.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/transport/session.cpp
c++ -o build/59f4f0dd/mongo/transport/transport_layer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/transport/transport_layer.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/59f4f0dd/mongo/db/s/add_shard_cmd_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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 src/mongo/db/query/view_response_formatter.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/s/add_shard_cmd_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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 src/mongo/db/query/view_response_formatter.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/db/s/add_shard_cmd_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/db/logical_session_id_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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 src/mongo/db/query/view_response_formatter.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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 src/mongo/db/query/view_response_formatter.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/transport/service_entry_point_utils.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/transport/service_entry_point_utils.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/59f4f0dd/mongo/db/logical_session_id_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/transport/ismaster_metrics.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/transport/ismaster_metrics.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/logical_session_id_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/logical_session_id_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/repl/replication_consistency_markers_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/repl/replication_consistency_markers_gen.cpp
c++ -o build/59f4f0dd/mongo/db/pipeline/make_js_function.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/make_js_function.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/namespace_string.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/namespace_string.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/query/explain_options.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/explain_options.cpp
ar rcsTD build/59f4f0dd/mongo/transport/libtransport_layer_common.a build/59f4f0dd/mongo/transport/ismaster_metrics.o build/59f4f0dd/mongo/transport/service_entry_point_utils.o build/59f4f0dd/mongo/transport/session.o build/59f4f0dd/mongo/transport/transport_layer.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/transport/libtransport_layer_common.a
gcc -o build/59f4f0dd/third_party/wiredtiger/src/btree/row_srch.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/btree/row_srch.c
ar rcsTD build/59f4f0dd/mongo/db/s/libtype_shard_identity.a build/59f4f0dd/mongo/db/s/add_shard_cmd_gen.o build/59f4f0dd/mongo/db/s/type_shard_identity.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/s/libtype_shard_identity.a
c++ -o build/59f4f0dd/mongo/db/index/fts_access_method.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/index/fts_access_method.cpp
c++ -o build/59f4f0dd/mongo/db/repl/oplog_applier_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/oplog_applier_impl.cpp
ar rcsTD build/59f4f0dd/mongo/db/liblogical_session_id.a build/59f4f0dd/mongo/db/logical_session_id.o build/59f4f0dd/mongo/db/logical_session_id_gen.o
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/59f4f0dd/mongo/db/repl/replication_consistency_markers_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/liblogical_session_id.a
In file included from src/mongo/db/pipeline/expression_context.h:44,
                 from src/mongo/db/pipeline/make_js_function.h:32,
                 from src/mongo/db/pipeline/make_js_function.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/repl/insert_group.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/insert_group.cpp
ar rcsTD build/59f4f0dd/mongo/db/libnamespace_string.a build/59f4f0dd/mongo/db/namespace_string.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libnamespace_string.a
c++ -o build/59f4f0dd/mongo/db/repl/scatter_gather_algorithm.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/scatter_gather_algorithm.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/59f4f0dd/mongo/db/repl/replication_consistency_markers_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/repl/replication_consistency_markers_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/repl/replication_consistency_markers_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/fts/fts_query_noop.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/fts/fts_query_noop.cpp
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_union_with_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/pipeline/document_source_union_with_gen.cpp
src/mongo/db/fts/fts_query_noop.cpp: In member function 'virtual std::unique_ptr<mongo::fts::FTSQuery> mongo::fts::FTSQueryNoop::clone() const':
src/mongo/db/fts/fts_query_noop.cpp:46:21: warning: redundant move in return statement [-Wredundant-move]
   46 |     return std::move(clonedQuery);
      |            ~~~~~~~~~^~~~~~~~~~~~~
src/mongo/db/fts/fts_query_noop.cpp:46:21: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/fts/libfts_query_noop.a build/59f4f0dd/mongo/db/fts/fts_query_noop.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/fts/libfts_query_noop.a
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/filesystem/src/path.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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/boost-1.70.0 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/filesystem/src/path.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/client/fetcher.h:42,
                 from src/mongo/db/repl/initial_syncer.h:42,
                 from src/mongo/db/repl/oplog_applier_impl.h:36,
                 from src/mongo/db/repl/oplog_applier_impl.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/thread/src/pthread/once.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_THREAD_BUILD_LIB -DBOOST_THREAD_PTHREAD -Isrc/third_party/boost-1.70.0 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/thread/src/pthread/once.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/client/fetcher.h:42,
                 from src/mongo/db/repl/initial_syncer.h:42,
                 from src/mongo/db/repl/oplog_applier_impl.h:36,
                 from src/mongo/db/repl/oplog_applier_impl.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/ftdc/collector.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/ftdc/collector.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/client/fetcher.h:42,
                 from src/mongo/db/repl/initial_syncer.h:42,
                 from src/mongo/db/repl/oplog_applier_impl.h:36,
                 from src/mongo/db/repl/oplog_applier_impl.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/client/fetcher.h:42,
                 from src/mongo/db/repl/initial_syncer.h:42,
                 from src/mongo/db/repl/oplog_applier_impl.h:36,
                 from src/mongo/db/repl/oplog_applier_impl.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/ftdc/file_writer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/ftdc/file_writer.cpp
ar rcsTD build/59f4f0dd/mongo/db/libservice_entry_point_common.a build/59f4f0dd/mongo/db/service_entry_point_common.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libservice_entry_point_common.a
c++ -o build/59f4f0dd/mongo/db/ftdc/controller.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/ftdc/controller.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/59f4f0dd/mongo/db/pipeline/document_source_union_with_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/insert_group.h:35,
                 from src/mongo/db/repl/insert_group.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/ftdc/file_manager.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/ftdc/file_manager.cpp
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/insert_group.h:35,
                 from src/mongo/db/repl/insert_group.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/pipeline/document_source_union_with_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/ftdc/file_reader.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/ftdc/file_reader.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/pipeline/document_source_union_with_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/pipeline/document_source_union_with_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/insert_group.h:35,
                 from src/mongo/db/repl/insert_group.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/insert_group.h:35,
                 from src/mongo/db/repl/insert_group.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/ftdc/util.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/ftdc/util.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/ftdc/compressor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/ftdc/compressor.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cos.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cos.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_random.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/btree/bt_random.c
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_acos.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_acos.c
ar rcsTD build/59f4f0dd/mongo/db/repl/liboplog_interface_remote.a build/59f4f0dd/mongo/db/repl/oplog_interface_remote.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/liboplog_interface_remote.a
gcc -o build/59f4f0dd/third_party/libstemmer_c/runtime/api.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -fno-strict-overflow -DNDEBUG -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/libstemmer_c/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/libstemmer_c/runtime/api.c
c++ -o build/59f4f0dd/mongo/bson/simple_bsonelement_comparator.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/bson/simple_bsonelement_comparator.cpp
c++ -o build/59f4f0dd/mongo/db/matcher/schema/json_pointer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/schema/json_pointer.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp2.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp2.c
c++ -o build/59f4f0dd/mongo/util/timer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/timer.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_btree_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_btree_impl.cpp
c++ -o build/59f4f0dd/mongo/client/connection_string_connect.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/connection_string_connect.cpp
c++ -o build/59f4f0dd/mongo/client/server_ping_monitor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/server_ping_monitor.cpp
c++ -o build/59f4f0dd/mongo/client/streamable_replica_set_monitor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/streamable_replica_set_monitor.cpp
c++ -o build/59f4f0dd/mongo/client/replica_set_monitor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/replica_set_monitor.cpp
ar rcsTD build/59f4f0dd/mongo/db/ftdc/libftdc.a build/59f4f0dd/mongo/db/ftdc/block_compressor.o build/59f4f0dd/mongo/db/ftdc/collector.o build/59f4f0dd/mongo/db/ftdc/compressor.o build/59f4f0dd/mongo/db/ftdc/controller.o build/59f4f0dd/mongo/db/ftdc/decompressor.o build/59f4f0dd/mongo/db/ftdc/file_manager.o build/59f4f0dd/mongo/db/ftdc/file_reader.o build/59f4f0dd/mongo/db/ftdc/file_writer.o build/59f4f0dd/mongo/db/ftdc/util.o build/59f4f0dd/mongo/db/ftdc/varint.o
c++ -o build/59f4f0dd/mongo/client/server_is_master_monitor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/server_is_master_monitor.cpp
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/ftdc/libftdc.a
ar rcsTD build/59f4f0dd/mongo/db/repl/liboplog_application.a build/59f4f0dd/mongo/db/repl/insert_group.o build/59f4f0dd/mongo/db/repl/oplog_applier_impl.o build/59f4f0dd/mongo/db/repl/session_update_tracker.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/liboplog_application.a
c++ -o build/59f4f0dd/mongo/client/replica_set_monitor_manager.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/replica_set_monitor_manager.cpp
c++ -o build/59f4f0dd/mongo/client/scanning_replica_set_monitor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/scanning_replica_set_monitor.cpp
src/mongo/client/connection_string_connect.cpp: In member function 'std::unique_ptr<mongo::DBClientBase> mongo::ConnectionString::connect(mongo::StringData, std::string&, double, const mongo::MongoURI*) const':
src/mongo/client/connection_string_connect.cpp:73:33: warning: redundant move in return statement [-Wredundant-move]
   73 |                 return std::move(c);
      |                        ~~~~~~~~~^~~
src/mongo/client/connection_string_connect.cpp:73:33: note: remove 'std::move' call
src/mongo/client/connection_string_connect.cpp:86:29: warning: redundant move in return statement [-Wredundant-move]
   86 |             return std::move(set);
      |                    ~~~~~~~~~^~~~~
src/mongo/client/connection_string_connect.cpp:86:29: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/client/streamable_replica_set_monitor_query_processor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/streamable_replica_set_monitor_query_processor.cpp
c++ -o build/59f4f0dd/mongo/client/dbclient_rs.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/dbclient_rs.cpp
ar rcsTD build/59f4f0dd/mongo/db/storage/ephemeral_for_test/libstorage_ephemeral_for_test_core.a build/59f4f0dd/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_btree_impl.o build/59f4f0dd/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_engine.o build/59f4f0dd/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_recovery_unit.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/ephemeral_for_test/libstorage_ephemeral_for_test_core.a
Generating build/59f4f0dd/mongo/client/global_conn_pool_gen.cpp
c++ -o build/59f4f0dd/mongo/client/global_conn_pool.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/global_conn_pool.cpp
c++ -o build/59f4f0dd/mongo/client/global_conn_pool_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/client/global_conn_pool_gen.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_fma.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_fma.c
gcc -o build/59f4f0dd/third_party/kms-message/src/kms_request_str.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -DKMS_MSG_STATIC -DNDEBUG -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 -DKMS_MSG_STATIC -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -Isrc/third_party/kms-message/src -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/kms-message/src/kms_request_str.c
c++ -o build/59f4f0dd/mongo/util/options_parser/constraints.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/options_parser/constraints.cpp
c++ -o build/59f4f0dd/mongo/util/options_parser/value.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/options_parser/value.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/59f4f0dd/mongo/client/global_conn_pool_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/util/options_parser/environment.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/options_parser/environment.cpp
c++ -o build/59f4f0dd/mongo/util/options_parser/options_parser.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/options_parser/options_parser.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/59f4f0dd/mongo/client/global_conn_pool_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/client/global_conn_pool_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/client/global_conn_pool_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/util/options_parser/option_section.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/options_parser/option_section.cpp
c++ -o build/59f4f0dd/mongo/util/options_parser/option_description.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/options_parser/option_description.cpp
c++ -o build/59f4f0dd/mongo/util/options_parser/startup_option_init.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/options_parser/startup_option_init.cpp
ar rcsTD build/59f4f0dd/mongo/util/cmdline_utils/libcmdline_utils.a build/59f4f0dd/mongo/util/cmdline_utils/censor_cmdline.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/cmdline_utils/libcmdline_utils.a
c++ -o build/59f4f0dd/mongo/s/catalog/type_tags.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/catalog/type_tags.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_fdimd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_fdimd.c
c++ -o build/59f4f0dd/mongo/scripting/bson_template_evaluator.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/bson_template_evaluator.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/repl/repl_set_get_status_cmd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/repl_set_get_status_cmd.cpp
c++ -o build/59f4f0dd/mongo/db/repl/transaction_oplog_application.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/transaction_oplog_application.cpp
ar rcsTD build/59f4f0dd/mongo/client/libclientdriver_network.a build/59f4f0dd/mongo/client/connection_string_connect.o build/59f4f0dd/mongo/client/mongo_uri_connect.o build/59f4f0dd/mongo/client/connpool.o build/59f4f0dd/mongo/client/dbclient_connection.o build/59f4f0dd/mongo/client/dbclient_rs.o build/59f4f0dd/mongo/client/global_conn_pool.o build/59f4f0dd/mongo/client/global_conn_pool_gen.o build/59f4f0dd/mongo/client/replica_set_change_notifier.o build/59f4f0dd/mongo/client/replica_set_monitor.o build/59f4f0dd/mongo/client/replica_set_monitor_manager.o build/59f4f0dd/mongo/client/scanning_replica_set_monitor.o build/59f4f0dd/mongo/client/streamable_replica_set_monitor.o build/59f4f0dd/mongo/client/streamable_replica_set_monitor_query_processor.o build/59f4f0dd/mongo/client/streamable_replica_set_monitor_error_handler.o build/59f4f0dd/mongo/client/server_is_master_monitor.o build/59f4f0dd/mongo/client/server_ping_monitor.o
c++ -o build/59f4f0dd/mongo/s/catalog/sharding_catalog_client_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/catalog/sharding_catalog_client_impl.cpp
Skipping ranlib for thin archive build/59f4f0dd/mongo/client/libclientdriver_network.a
c++ -o build/59f4f0dd/mongo/db/repl/noop_writer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/noop_writer.cpp
c++ -o build/59f4f0dd/mongo/db/repl/sync_source_feedback.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/sync_source_feedback.cpp
ar rcsTD build/59f4f0dd/mongo/scripting/libbson_template_evaluator.a build/59f4f0dd/mongo/scripting/bson_template_evaluator.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/scripting/libbson_template_evaluator.a
gcc -o build/59f4f0dd/third_party/wiredtiger/src/os_common/os_strtouq.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/os_common/os_strtouq.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_quantexpd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_quantexpd.c
c++ -o build/59f4f0dd/mongo/s/catalog/replset_dist_lock_manager.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/catalog/replset_dist_lock_manager.cpp
c++ -o build/59f4f0dd/mongo/db/exec/document_value/document_comparator.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/document_value/document_comparator.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/repl/repl_set_command.h:34,
                 from src/mongo/db/repl/repl_set_get_status_cmd.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/repl/noop_writer.cpp:36:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/repl/noop_writer.cpp:36:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/repl/repl_set_command.h:34,
                 from src/mongo/db/repl/repl_set_get_status_cmd.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
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/s/catalog/sharding_catalog_client_impl.cpp:43:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
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/repl/noop_writer.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/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/repl/noop_writer.cpp:36:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/repl/transaction_oplog_application.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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: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/repl/repl_set_command.h:34,
                 from src/mongo/db/repl/repl_set_get_status_cmd.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/sync_source_feedback.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/repl/repl_set_command.h:34,
                 from src/mongo/db/repl/repl_set_get_status_cmd.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/repl/transaction_oplog_application.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/util/options_parser/liboptions_parser.a build/59f4f0dd/mongo/util/options_parser/constraints.o build/59f4f0dd/mongo/util/options_parser/environment.o build/59f4f0dd/mongo/util/options_parser/option_description.o build/59f4f0dd/mongo/util/options_parser/option_section.o build/59f4f0dd/mongo/util/options_parser/options_parser.o build/59f4f0dd/mongo/util/options_parser/startup_option_init.o build/59f4f0dd/mongo/util/options_parser/startup_options.o build/59f4f0dd/mongo/util/options_parser/value.o
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/sync_source_feedback.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/options_parser/liboptions_parser.a
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/s/catalog/sharding_catalog_client_impl.cpp:43:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/exec/document_value/value.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/document_value/value.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/catalog/sharding_catalog_client_impl.cpp:43:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/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/sync_source_feedback.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_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/repl/transaction_oplog_application.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/repl/transaction_oplog_application.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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: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/sync_source_feedback.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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: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/s/catalog/sharding_catalog_client_impl.cpp:43:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/exec/document_value/document.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/document_value/document.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/exec/working_set.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/working_set.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/exec/document_value/libdocument_value.a build/59f4f0dd/mongo/db/exec/document_value/document.o build/59f4f0dd/mongo/db/exec/document_value/document_comparator.o build/59f4f0dd/mongo/db/exec/document_value/document_metadata_fields.o build/59f4f0dd/mongo/db/exec/document_value/value.o build/59f4f0dd/mongo/db/exec/document_value/value_comparator.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/exec/document_value/libdocument_value.a
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/default_sink.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/log/src/default_sink.cpp
c++ -o build/59f4f0dd/mongo/db/update/update_array_node.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/update/update_array_node.cpp
ar rcsTD build/59f4f0dd/mongo/s/catalog/libreplset_dist_lock_manager.a build/59f4f0dd/mongo/s/catalog/replset_dist_lock_manager.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/catalog/libreplset_dist_lock_manager.a
c++ -o build/59f4f0dd/mongo/db/update/pullall_node.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/update/pullall_node.cpp
c++ -o build/59f4f0dd/mongo/db/update/current_date_node.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/update/current_date_node.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/repl/libserveronly_repl.a build/59f4f0dd/mongo/db/repl/noop_writer.o build/59f4f0dd/mongo/db/repl/replication_coordinator_external_state_impl.o build/59f4f0dd/mongo/db/repl/sync_source_feedback.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libserveronly_repl.a
c++ -o build/59f4f0dd/mongo/db/update/arithmetic_node.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/update/arithmetic_node.cpp
ar rcsTD build/59f4f0dd/mongo/s/catalog/libsharding_catalog_client_impl.a build/59f4f0dd/mongo/s/catalog/sharding_catalog_client_impl.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/catalog/libsharding_catalog_client_impl.a
c++ -o build/59f4f0dd/mongo/db/update/object_replace_executor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/update/object_replace_executor.cpp
c++ -o build/59f4f0dd/mongo/db/update/set_node.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/update/set_node.cpp
c++ -o build/59f4f0dd/mongo/db/update/pop_node.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/update/pop_node.cpp
In file included from src/mongo/db/pipeline/expression_context.h:44,
                 from src/mongo/db/update/update_leaf_node.h:32,
                 from src/mongo/db/update/modifier_node.h:39,
                 from src/mongo/db/update/current_date_node.h:35,
                 from src/mongo/db/update/current_date_node.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/update/update_array_node.h:39,
                 from src/mongo/db/update/update_array_node.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
In file included from src/mongo/db/pipeline/expression_context.h:44,
                 from src/mongo/db/update/update_leaf_node.h:32,
                 from src/mongo/db/update/modifier_node.h:39,
                 from src/mongo/db/update/array_culling_node.h:35,
                 from src/mongo/db/update/pullall_node.h:35,
                 from src/mongo/db/update/pullall_node.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/update/push_node.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/update/push_node.cpp
src/mongo/db/update/update_array_node.cpp: In static member function 'static std::unique_ptr<mongo::UpdateNode> mongo::UpdateArrayNode::createUpdateNodeByMerging(const mongo::UpdateArrayNode&, const mongo::UpdateArrayNode&, mongo::FieldRef*)':
src/mongo/db/update/update_array_node.cpp:47:21: warning: redundant move in return statement [-Wredundant-move]
   47 |     return std::move(mergedNode);
      |            ~~~~~~~~~^~~~~~~~~~~~
src/mongo/db/update/update_array_node.cpp:47:21: note: remove 'std::move' call
In file included from src/mongo/db/pipeline/expression_context.h:44,
                 from src/mongo/db/update/update_leaf_node.h:32,
                 from src/mongo/db/update/modifier_node.h:39,
                 from src/mongo/db/update/arithmetic_node.h:35,
                 from src/mongo/db/update/arithmetic_node.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/update/compare_node.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/update/compare_node.cpp
c++ -o build/59f4f0dd/mongo/db/update/update_node.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/update/update_node.cpp
In file included from src/mongo/db/pipeline/expression_context.h:44,
                 from src/mongo/db/update/update_leaf_node.h:32,
                 from src/mongo/db/update/modifier_node.h:39,
                 from src/mongo/db/update/pop_node.h:35,
                 from src/mongo/db/update/pop_node.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/update/addtoset_node.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/update/addtoset_node.cpp
c++ -o build/59f4f0dd/mongo/db/update/pull_node.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/update/pull_node.cpp
c++ -o build/59f4f0dd/mongo/s/shard_util.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/shard_util.cpp
In file included from src/mongo/db/matcher/expression_parser.h:37,
                 from src/mongo/db/update/pop_node.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
In file included from src/mongo/db/pipeline/expression_context.h:44,
                 from src/mongo/db/update/update_leaf_node.h:32,
                 from src/mongo/db/update/modifier_node.h:39,
                 from src/mongo/db/update/push_node.h:38,
                 from src/mongo/db/update/push_node.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/update/pop_node.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/update/pop_node.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/update/update_leaf_node.h:32,
                 from src/mongo/db/update/modifier_node.h:39,
                 from src/mongo/db/update/set_node.h:35,
                 from src/mongo/db/update/set_node.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:37,
                 from src/mongo/db/update/push_node.cpp:39:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/update/push_node.cpp:39:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/update/push_node.cpp:39:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/update/path_support.h:40,
                 from src/mongo/db/update/set_node.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/update/update_leaf_node.h:32,
                 from src/mongo/db/update/modifier_node.h:39,
                 from src/mongo/db/update/addtoset_node.h:37,
                 from src/mongo/db/update/addtoset_node.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
In file included from src/mongo/db/pipeline/expression_context.h:44,
                 from src/mongo/db/update/update_leaf_node.h:32,
                 from src/mongo/db/update/modifier_node.h:39,
                 from src/mongo/db/update/compare_node.h:35,
                 from src/mongo/db/update/compare_node.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/update/update_array_node.h:39,
                 from src/mongo/db/update/update_node.cpp:35:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
In file included from src/mongo/db/pipeline/expression_context.h:44,
                 from src/mongo/db/update/update_leaf_node.h:32,
                 from src/mongo/db/update/modifier_node.h:39,
                 from src/mongo/db/update/array_culling_node.h:35,
                 from src/mongo/db/update/pull_node.h:35,
                 from src/mongo/db/update/pull_node.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/s/cluster_identity_loader.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/cluster_identity_loader.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/s/shard_util.cpp: In function 'mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::shardutil::selectChunkSplitPoints(mongo::OperationContext*, const mongo::ShardId&, const mongo::NamespaceString&, const mongo::ShardKeyPattern&, const mongo::ChunkRange&, long long int, boost::optional<int>)':
src/mongo/s/shard_util.cpp:147:25: warning: redundant move in return statement [-Wredundant-move]
  147 |         return std::move(splitPoints);
      |                ~~~~~~~~~^~~~~~~~~~~~~
src/mongo/s/shard_util.cpp:147:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:37,
                 from src/mongo/db/matcher/copyable_match_expression.h:32,
                 from src/mongo/db/update/pull_node.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/update/pull_node.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/update/pull_node.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/s/config_server_catalog_cache_loader.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/config_server_catalog_cache_loader.cpp
c++ -o build/59f4f0dd/mongo/db/catalog/collection.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/collection.cpp
c++ -o build/59f4f0dd/mongo/s/client/rs_local_client.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/client/rs_local_client.cpp
c++ -o build/59f4f0dd/mongo/db/exec/sort.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/sort.cpp
gcc -o build/59f4f0dd/third_party/wiredtiger/src/os_posix/os_snprintf.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/os_posix/os_snprintf.c
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/operation_killer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/operation_killer.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/ops/write_ops_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/ops/write_ops_gen.cpp
ar rcsTD build/59f4f0dd/mongo/db/update/libupdate.a build/59f4f0dd/mongo/db/update/addtoset_node.o build/59f4f0dd/mongo/db/update/arithmetic_node.o build/59f4f0dd/mongo/db/update/array_culling_node.o build/59f4f0dd/mongo/db/update/bit_node.o build/59f4f0dd/mongo/db/update/compare_node.o build/59f4f0dd/mongo/db/update/current_date_node.o build/59f4f0dd/mongo/db/update/modifier_node.o build/59f4f0dd/mongo/db/update/modifier_table.o build/59f4f0dd/mongo/db/update/object_replace_executor.o build/59f4f0dd/mongo/db/update/pipeline_executor.o build/59f4f0dd/mongo/db/update/pop_node.o build/59f4f0dd/mongo/db/update/pull_node.o build/59f4f0dd/mongo/db/update/pullall_node.o build/59f4f0dd/mongo/db/update/push_node.o build/59f4f0dd/mongo/db/update/rename_node.o build/59f4f0dd/mongo/db/update/set_node.o build/59f4f0dd/mongo/db/update/unset_node.o build/59f4f0dd/mongo/db/update/update_array_node.o build/59f4f0dd/mongo/db/update/update_internal_node.o build/59f4f0dd/mongo/db/update/update_leaf_node.o build/59f4f0dd/mongo/db/update/update_node.o build/59f4f0dd/mongo/db/update/update_object_node.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/update/libupdate.a
gcc -o build/59f4f0dd/third_party/libstemmer_c/src_c/stem_UTF_8_romanian.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -fno-strict-overflow -DNDEBUG -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/libstemmer_c/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/libstemmer_c/src_c/stem_UTF_8_romanian.c
ar rcsTD build/59f4f0dd/mongo/util/libprocessinfo.a build/59f4f0dd/mongo/util/processinfo.o build/59f4f0dd/mongo/util/processinfo_netbsd.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/libprocessinfo.a
c++ -o build/59f4f0dd/mongo/util/secure_zero_memory.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/secure_zero_memory.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_trig.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_trig.c
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/s/client/rs_local_client.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/sort.h:35,
                 from src/mongo/db/exec/sort.cpp:33:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/client/rs_local_client.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/ops/write_ops_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/s/client/rs_local_client.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/s/client/rs_local_client.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/s/libcoreshard.a build/59f4f0dd/mongo/s/catalog_cache_loader.o build/59f4f0dd/mongo/s/cluster_identity_loader.o build/59f4f0dd/mongo/s/config_server_catalog_cache_loader.o build/59f4f0dd/mongo/s/config_server_client.o build/59f4f0dd/mongo/s/shard_util.o build/59f4f0dd/mongo/s/sharding_egress_metadata_hook.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/libcoreshard.a
c++ -o build/59f4f0dd/mongo/base/data_range.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/base/data_range.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/59f4f0dd/mongo/db/ops/write_ops_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_trig.c:89:21: warning: "/*" within comment [-Wcomment]
   89 | **   cot(x) ~ Q(x^2)/*[x*P(x^2)]
      |                      
In file included from src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_trig.c:164:
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_radian_reduce.c: In function '__dpml_bid_ux_radian_reduce__':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_radian_reduce.c:1047:19: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'long long int' [-Wsign-compare]
 1047 |     if ( MSD_OF_W == ((SIGNED_DIGIT_TYPE) MSD_OF_W >> (BITS_PER_DIGIT - 1)) )
      |                   ^~
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/ops/write_ops_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/ops/write_ops_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/index/expression_keys_private.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/index/expression_keys_private.cpp
ar rcsTD build/59f4f0dd/mongo/db/liboperation_killer.a build/59f4f0dd/mongo/db/operation_killer.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/liboperation_killer.a
ar rcsTD build/59f4f0dd/mongo/db/query/datetime/libdate_time_support.a build/59f4f0dd/mongo/db/query/datetime/date_time_support.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/query/datetime/libdate_time_support.a
c++ -o build/59f4f0dd/mongo/db/pipeline/runtime_constants_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/pipeline/runtime_constants_gen.cpp
c++ -o build/59f4f0dd/mongo/util/net/openssl_init.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/net/openssl_init.cpp
gcc -o build/59f4f0dd/third_party/wiredtiger/src/conn/conn_cache.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/conn/conn_cache.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_logbd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_logbd.c
gcc -o build/59f4f0dd/third_party/libstemmer_c/src_c/stem_UTF_8_danish.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -fno-strict-overflow -DNDEBUG -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/libstemmer_c/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/libstemmer_c/src_c/stem_UTF_8_danish.c
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/commands/snapshot_management.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/snapshot_management.cpp
c++ -o build/59f4f0dd/mongo/db/commands/read_write_concern_defaults_server_status.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/read_write_concern_defaults_server_status.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/pipeline/runtime_constants_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
gcc -o build/59f4f0dd/third_party/wiredtiger/src/support/update_vector.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/support/update_vector.c
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/59f4f0dd/mongo/db/pipeline/runtime_constants_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/pipeline/runtime_constants_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/pipeline/runtime_constants_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_logb.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_logb.c
c++ -o build/59f4f0dd/mongo/db/query/query_knobs_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/query/query_knobs_gen.cpp
Generating build/59f4f0dd/mongo/db/catalog/commit_quorum_gen.cpp
c++ -o build/59f4f0dd/mongo/db/catalog/commit_quorum_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/catalog/commit_quorum_gen.cpp
ar rcsTD build/59f4f0dd/mongo/util/net/libopenssl_init.a build/59f4f0dd/mongo/util/net/openssl_init.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/net/libopenssl_init.a
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/attribute_set.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/log/src/attribute_set.cpp
c++ -o build/59f4f0dd/mongo/db/commands/whats_my_uri_cmd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/whats_my_uri_cmd.cpp
gcc -o build/59f4f0dd/third_party/wiredtiger/src/support/global.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/support/global.c
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/snapshot_management.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/executor/scoped_task_executor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/executor/scoped_task_executor.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/commands/read_write_concern_defaults_server_status.cpp:33:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/s/check_sharding_index_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/check_sharding_index_command.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
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/snapshot_management.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/snapshot_management.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/snapshot_management.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from src/mongo/db/commands/server_status.h:32,
                 from src/mongo/db/commands/read_write_concern_defaults_server_status.cpp:33:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/commands/read_write_concern_defaults_server_status.cpp:33:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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/59f4f0dd/mongo/db/query/query_knobs_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/server_status.h:32,
                 from src/mongo/db/commands/read_write_concern_defaults_server_status.cpp:33:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/db/catalog/commit_quorum_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/pipeline/libruntime_constants_idl.a build/59f4f0dd/mongo/db/pipeline/runtime_constants_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/pipeline/libruntime_constants_idl.a
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/filesystem/src/unique_path.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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/boost-1.70.0 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/filesystem/src/unique_path.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/59f4f0dd/mongo/db/query/query_knobs_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/catalog/commit_quorum_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
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/59f4f0dd/mongo/db/query/query_knobs_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/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/59f4f0dd/mongo/db/query/query_knobs_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/catalog/commit_quorum_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/catalog/commit_quorum_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/commands/whats_my_uri_cmd.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
gcc -o build/59f4f0dd/third_party/wiredtiger/src/os_posix/os_fallocate.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/os_posix/os_fallocate.c
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/whats_my_uri_cmd.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/whats_my_uri_cmd.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/whats_my_uri_cmd.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/storage/storage_engine_init.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/storage_engine_init.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/check_sharding_index_command.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/check_sharding_index_command.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/executor/libscoped_task_executor.a build/59f4f0dd/mongo/executor/scoped_task_executor.o
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Skipping ranlib for thin archive build/59f4f0dd/mongo/executor/libscoped_task_executor.a
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/exec/sort_key_generator.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/sort_key_generator.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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from src/mongo/db/s/check_sharding_index_command.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/check_sharding_index_command.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/logv2/redaction.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/logv2/redaction.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/catalog/libcommit_quorum_idl.a build/59f4f0dd/mongo/db/catalog/commit_quorum_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/catalog/libcommit_quorum_idl.a
c++ -o build/59f4f0dd/third_party/abseil-cpp-master/abseil-cpp/absl/base/internal/throw_delegate.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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/abseil-cpp-master/abseil-cpp -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/abseil-cpp-master/abseil-cpp/absl/base/internal/throw_delegate.cc
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_acos.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_acos.c
ar rcsTD build/59f4f0dd/mongo/db/query/libquery_knobs.a build/59f4f0dd/mongo/db/query/query_knobs_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/query/libquery_knobs.a
c++ -o build/59f4f0dd/mongo/shell/linenoise_utf8.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/shell/linenoise_utf8.cpp
ar rcsTD build/59f4f0dd/third_party/murmurhash3/libmurmurhash3.a build/59f4f0dd/third_party/murmurhash3/MurmurHash3.o
Skipping ranlib for thin archive build/59f4f0dd/third_party/murmurhash3/libmurmurhash3.a
gcc -o build/59f4f0dd/third_party/wiredtiger/src/config/config_check.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/config/config_check.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_minmax.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_minmax.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_expm1.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_expm1.c
c++ -o build/59f4f0dd/mongo/util/signal_handlers_synchronous.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/signal_handlers_synchronous.cpp
ar rcsTD build/59f4f0dd/mongo/db/repl/libbgsync.a build/59f4f0dd/mongo/db/repl/bgsync.o
gcc -o build/59f4f0dd/third_party/wiredtiger/src/conn/conn_api.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/conn/conn_api.c
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libbgsync.a
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fma.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fma.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/meta/meta_ext.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/meta/meta_ext.c
c++ -o build/59f4f0dd/mongo/util/regex_util.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/regex_util.cpp
c++ -o build/59f4f0dd/mongo/util/exception_filter_win32.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/exception_filter_win32.cpp
c++ -o build/59f4f0dd/mongo/scripting/mozjs/objectwrapper.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/objectwrapper.cpp
ar rcsTD build/59f4f0dd/mongo/db/liblogical_time_validator.a build/59f4f0dd/mongo/db/logical_time_validator.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/liblogical_time_validator.a
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_asinh.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_asinh.c
Generating build/59f4f0dd/mongo/watchdog/watchdog_mongod_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/exec/sort_key_generator.h:35,
                 from src/mongo/db/exec/sort_key_generator.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/watchdog/watchdog_mongod_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/watchdog/watchdog_mongod_gen.cpp
c++ -o build/59f4f0dd/mongo/logger/log_manager.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/logger/log_manager.cpp
c++ -o build/59f4f0dd/mongo/bson/simple_bsonobj_comparator.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/bson/simple_bsonobj_comparator.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/exec/sort_key_generator.cpp:40:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/storage/libstorage_engine_common.a build/59f4f0dd/mongo/db/storage/storage_engine_init.o
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/libstorage_engine_common.a
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/logger/ramlog.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/logger/ramlog.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/logv2/log_domain.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/logv2/log_domain.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/exec/sort_key_generator.cpp:40:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/exec/sort_key_generator.cpp:40:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/bson/bsonobj.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/bson/bsonobj.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/59f4f0dd/mongo/watchdog/watchdog_mongod_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/logv2/log_tag.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/logv2/log_tag.cpp
c++ -o build/59f4f0dd/mongo/platform/mutex.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/platform/mutex.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/59f4f0dd/mongo/watchdog/watchdog_mongod_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/watchdog/watchdog_mongod_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/util/stacktrace_json.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/stacktrace_json.cpp
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/59f4f0dd/mongo/watchdog/watchdog_mongod_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/bson/bson_comparator_interface_base.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/bson/bson_comparator_interface_base.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/bson/bson_validate.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/bson/bson_validate.cpp
c++ -o build/59f4f0dd/mongo/util/uuid.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/uuid.cpp
c++ -o build/59f4f0dd/mongo/platform/strcasestr.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/platform/strcasestr.cpp
c++ -o build/59f4f0dd/mongo/logv2/ramlog.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/logv2/ramlog.cpp
c++ -o build/59f4f0dd/mongo/logger/console.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/logger/console.cpp
c++ -o build/59f4f0dd/mongo/logv2/log_component_settings.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/logv2/log_component_settings.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/logv2/json_formatter.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/logv2/json_formatter.cpp
c++ -o build/59f4f0dd/mongo/util/platform_init.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/platform_init.cpp
c++ -o build/59f4f0dd/mongo/util/stacktrace_posix.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/stacktrace_posix.cpp
c++ -o build/59f4f0dd/mongo/platform/stack_locator.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/platform/stack_locator.cpp
c++ -o build/59f4f0dd/mongo/platform/random.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/platform/random.cpp
c++ -o build/59f4f0dd/mongo/logv2/log_detail.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/logv2/log_detail.cpp
c++ -o build/59f4f0dd/mongo/util/system_clock_source.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/system_clock_source.cpp
c++ -o build/59f4f0dd/mongo/platform/process_id.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/platform/process_id.cpp
c++ -o build/59f4f0dd/mongo/base/data_type_terminated.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/base/data_type_terminated.cpp
c++ -o build/59f4f0dd/mongo/util/errno_util.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/errno_util.cpp
c++ -o build/59f4f0dd/mongo/base/validate_locale.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/base/validate_locale.cpp
c++ -o build/59f4f0dd/mongo/util/stacktrace_somap.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/stacktrace_somap.cpp
c++ -o build/59f4f0dd/mongo/util/stacktrace_threads.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/stacktrace_threads.cpp
c++ -o build/59f4f0dd/mongo/logv2/shared_access_fstream.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/logv2/shared_access_fstream.cpp
c++ -o build/59f4f0dd/mongo/base/status.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/base/status.cpp
c++ -o build/59f4f0dd/mongo/base/parse_number.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/base/parse_number.cpp
c++ -o build/59f4f0dd/mongo/platform/decimal128.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/platform/decimal128.cpp
c++ -o build/59f4f0dd/mongo/util/text.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/text.cpp
c++ -o build/59f4f0dd/mongo/logv2/file_rotate_sink.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/logv2/file_rotate_sink.cpp
c++ -o build/59f4f0dd/mongo/logger/rotatable_file_manager.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/logger/rotatable_file_manager.cpp
c++ -o build/59f4f0dd/mongo/platform/shared_library.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/platform/shared_library.cpp
c++ -o build/59f4f0dd/mongo/util/hex.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/hex.cpp
c++ -o build/59f4f0dd/mongo/base/data_range_cursor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/base/data_range_cursor.cpp
c++ -o build/59f4f0dd/mongo/logv2/attributes.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/logv2/attributes.cpp
c++ -o build/59f4f0dd/mongo/logv2/log_manager.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/logv2/log_manager.cpp
c++ -o build/59f4f0dd/mongo/logger/component_message_log_domain.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/logger/component_message_log_domain.cpp
c++ -o build/59f4f0dd/mongo/bson/json.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/bson/json.cpp
c++ -o build/59f4f0dd/mongo/bson/bsonelement.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/bson/bsonelement.cpp
c++ -o build/59f4f0dd/mongo/base/error_extra_info.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/base/error_extra_info.cpp
c++ -o build/59f4f0dd/mongo/logv2/log_severity.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/logv2/log_severity.cpp
c++ -o build/59f4f0dd/mongo/util/str.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/str.cpp
c++ -o build/59f4f0dd/mongo/base/simple_string_data_comparator.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/base/simple_string_data_comparator.cpp
c++ -o build/59f4f0dd/mongo/logv2/text_formatter.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/logv2/text_formatter.cpp
c++ -o build/59f4f0dd/mongo/logv2/log_util.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/logv2/log_util.cpp
c++ -o build/59f4f0dd/mongo/platform/posix_fadvise.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/platform/posix_fadvise.cpp
c++ -o build/59f4f0dd/mongo/util/testing_proctor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/testing_proctor.cpp
c++ -o build/59f4f0dd/mongo/util/shell_exec.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/shell_exec.cpp
c++ -o build/59f4f0dd/mongo/base/initializer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/base/initializer.cpp
gcc -o build/59f4f0dd/third_party/kms-message/src/kms_request_opt.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -DKMS_MSG_STATIC -DNDEBUG -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 -DKMS_MSG_STATIC -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -Isrc/third_party/kms-message/src -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/kms-message/src/kms_request_opt.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fdimd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fdimd.c
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/dump.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/log/src/dump.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_nexttowardd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_nexttowardd.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cos.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cos.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_mul.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_mul.c
c++ -o build/59f4f0dd/mongo/db/s/sharding_state.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/sharding_state.cpp
c++ -o build/59f4f0dd/mongo/db/s/transaction_coordinator_curop.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/transaction_coordinator_curop.cpp
c++ -o build/59f4f0dd/mongo/db/s/database_sharding_state.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/database_sharding_state.cpp
c++ -o build/59f4f0dd/mongo/db/s/collection_sharding_state.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/collection_sharding_state.cpp
c++ -o build/59f4f0dd/mongo/db/s/collection_metadata.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/collection_metadata.cpp
c++ -o build/59f4f0dd/mongo/db/s/transaction_coordinator_factory.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/transaction_coordinator_factory.cpp
c++ -o build/59f4f0dd/mongo/db/s/transaction_coordinator_worker_curop_repository.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/transaction_coordinator_worker_curop_repository.cpp
Using tempfile /tmp/tmpoyzcr3i3.lnk for command line:
ar rcsTD build/59f4f0dd/mongo/libbase.a build/59f4f0dd/mongo/base/data_range.o build/59f4f0dd/mongo/base/data_range_cursor.o build/59f4f0dd/mongo/base/data_type.o build/59f4f0dd/mongo/base/data_type_string_data.o build/59f4f0dd/mongo/base/data_type_terminated.o build/59f4f0dd/mongo/base/error_codes.o build/59f4f0dd/mongo/base/error_extra_info.o build/59f4f0dd/mongo/base/global_initializer.o build/59f4f0dd/mongo/base/global_initializer_registerer.o build/59f4f0dd/mongo/base/init.o build/59f4f0dd/mongo/base/initializer.o build/59f4f0dd/mongo/base/initializer_dependency_graph.o build/59f4f0dd/mongo/base/parse_number.o build/59f4f0dd/mongo/base/shim.o build/59f4f0dd/mongo/base/simple_string_data_comparator.o build/59f4f0dd/mongo/base/status.o build/59f4f0dd/mongo/base/string_data.o build/59f4f0dd/mongo/base/validate_locale.o build/59f4f0dd/mongo/bson/bson_comparator_interface_base.o build/59f4f0dd/mongo/bson/bson_depth.o build/59f4f0dd/mongo/bson/bson_validate.o build/59f4f0dd/mongo/bson/bsonelement.o build/59f4f0dd/mongo/bson/bsonmisc.o build/59f4f0dd/mongo/bson/bsonobj.o build/59f4f0dd/mongo/bson/bsonobjbuilder.o build/59f4f0dd/mongo/bson/bsontypes.o build/59f4f0dd/mongo/bson/json.o build/59f4f0dd/mongo/bson/oid.o build/59f4f0dd/mongo/bson/simple_bsonelement_comparator.o build/59f4f0dd/mongo/bson/simple_bsonobj_comparator.o build/59f4f0dd/mongo/bson/timestamp.o build/59f4f0dd/mongo/logger/component_message_log_domain.o build/59f4f0dd/mongo/logger/console.o build/59f4f0dd/mongo/logger/log_manager.o build/59f4f0dd/mongo/logger/logger.o build/59f4f0dd/mongo/logger/message_event_utf8_encoder.o build/59f4f0dd/mongo/logger/ramlog.o build/59f4f0dd/mongo/logger/rotatable_file_manager.o build/59f4f0dd/mongo/logger/rotatable_file_writer.o build/59f4f0dd/mongo/logv2/attributes.o build/59f4f0dd/mongo/logv2/bson_formatter.o build/59f4f0dd/mongo/logv2/console.o build/59f4f0dd/mongo/logv2/file_rotate_sink.o build/59f4f0dd/mongo/logv2/json_formatter.o build/59f4f0dd/mongo/logv2/log_component.o build/59f4f0dd/mongo/logv2/log_component_settings.o build/59f4f0dd/mongo/logv2/log_detail.o build/59f4f0dd/mongo/logv2/log_domain.o build/59f4f0dd/mongo/logv2/log_domain_global.o build/59f4f0dd/mongo/logv2/log_domain_internal.o build/59f4f0dd/mongo/logv2/log_manager.o build/59f4f0dd/mongo/logv2/log_severity.o build/59f4f0dd/mongo/logv2/log_tag.o build/59f4f0dd/mongo/logv2/log_util.o build/59f4f0dd/mongo/logv2/plain_formatter.o build/59f4f0dd/mongo/logv2/shared_access_fstream.o build/59f4f0dd/mongo/logv2/ramlog.o build/59f4f0dd/mongo/logv2/redaction.o build/59f4f0dd/mongo/logv2/text_formatter.o build/59f4f0dd/mongo/platform/decimal128.o build/59f4f0dd/mongo/platform/mutex.o build/59f4f0dd/mongo/platform/posix_fadvise.o build/59f4f0dd/mongo/platform/process_id.o build/59f4f0dd/mongo/platform/random.o build/59f4f0dd/mongo/platform/shared_library.o build/59f4f0dd/mongo/platform/shared_library_posix.o build/59f4f0dd/mongo/platform/stack_locator.o build/59f4f0dd/mongo/platform/stack_locator_netbsd.o build/59f4f0dd/mongo/platform/strcasestr.o build/59f4f0dd/mongo/platform/strnlen.o build/59f4f0dd/mongo/util/allocator.o build/59f4f0dd/mongo/util/assert_util.o build/59f4f0dd/mongo/util/base64.o build/59f4f0dd/mongo/util/boost_assert_impl.o build/59f4f0dd/mongo/util/concurrency/idle_thread_block.o build/59f4f0dd/mongo/util/concurrency/thread_name.o build/59f4f0dd/mongo/util/duration.o build/59f4f0dd/mongo/util/str_escape.o build/59f4f0dd/mongo/util/errno_util.o build/59f4f0dd/mongo/util/exception_filter_win32.o build/59f4f0dd/mongo/util/exit.o build/59f4f0dd/mongo/util/file.o build/59f4f0dd/mongo/util/hex.o build/59f4f0dd/mongo/util/itoa.o build/59f4f0dd/mongo/util/platform_init.o build/59f4f0dd/mongo/util/shell_exec.o build/59f4f0dd/mongo/util/signal_handlers_synchronous.o build/59f4f0dd/mongo/util/stacktrace_posix.o build/59f4f0dd/mongo/util/stacktrace_json.o build/59f4f0dd/mongo/util/stacktrace_somap.o build/59f4f0dd/mongo/util/stacktrace_threads.o build/59f4f0dd/mongo/util/str.o build/59f4f0dd/mongo/util/system_clock_source.o build/59f4f0dd/mongo/util/system_tick_source.o build/59f4f0dd/mongo/util/text.o build/59f4f0dd/mongo/util/testing_proctor.o build/59f4f0dd/mongo/util/thread_safety_context.o build/59f4f0dd/mongo/util/time_support.o build/59f4f0dd/mongo/util/timer.o build/59f4f0dd/mongo/util/uuid.o build/59f4f0dd/mongo/util/version.o
ar @/tmp/tmpoyzcr3i3.lnk
Skipping ranlib for thin archive build/59f4f0dd/mongo/libbase.a
c++ -o build/59f4f0dd/mongo/db/s/sharded_connection_info.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/sharded_connection_info.cpp
In file included from src/mongo/db/matcher/expression_parser.h:37,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/mongos_process_interface.h:33,
                 from src/mongo/db/s/transaction_coordinator_curop.h:31,
                 from src/mongo/db/s/transaction_coordinator_curop.cpp:29:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/mongos_process_interface.h:33,
                 from src/mongo/db/s/transaction_coordinator_curop.h:31,
                 from src/mongo/db/s/transaction_coordinator_curop.cpp:29:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/mongos_process_interface.h:33,
                 from src/mongo/db/s/transaction_coordinator_curop.h:31,
                 from src/mongo/db/s/transaction_coordinator_curop.cpp:29:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/database.h:38,
                 from src/mongo/db/s/database_sharding_state.h:32,
                 from src/mongo/db/s/database_sharding_state.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/matcher/expression_with_placeholder.h:37,
                 from src/mongo/db/matcher/expression_parser.h:40,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/mongos_process_interface.h:33,
                 from src/mongo/db/s/transaction_coordinator_curop.h:31,
                 from src/mongo/db/s/transaction_coordinator_curop.cpp:29:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/db/s/database_sharding_state.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/s/sharding_migration_critical_section.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/sharding_migration_critical_section.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/database.h:38,
                 from src/mongo/db/s/database_sharding_state.h:32,
                 from src/mongo/db/s/database_sharding_state.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/db/s/database_sharding_state.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/syslog_backend.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/log/src/syslog_backend.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/s/transaction_coordinator_worker_curop_repository.h:31,
                 from src/mongo/db/s/transaction_coordinator_worker_curop_repository.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/transaction_coordinator_worker_curop_repository.h:31,
                 from src/mongo/db/s/transaction_coordinator_worker_curop_repository.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/s/transaction_coordinator_worker_curop_repository.h:31,
                 from src/mongo/db/s/transaction_coordinator_worker_curop_repository.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/s/transaction_coordinator_worker_curop_repository.h:31,
                 from src/mongo/db/s/transaction_coordinator_worker_curop_repository.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Generating build/59f4f0dd/mongo/db/cloner_gen.cpp
c++ -o build/59f4f0dd/mongo/rpc/metadata/client_metadata.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/rpc/metadata/client_metadata.cpp
c++ -o build/59f4f0dd/mongo/db/cloner_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/cloner_gen.cpp
c++ -o build/59f4f0dd/mongo/db/cloner.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/cloner.cpp
In file included from src/mongo/db/matcher/expression_parser.h:39,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/mongos_process_interface.h:33,
                 from src/mongo/db/s/transaction_coordinator_curop.h:31,
                 from src/mongo/db/s/transaction_coordinator_curop.cpp:29:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Generating build/59f4f0dd/mongo/s/request_types/clone_collection_options_from_primary_shard_gen.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_div.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_div.c
c++ -o build/59f4f0dd/mongo/db/s/clone_collection_options_from_primary_shard_cmd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/clone_collection_options_from_primary_shard_cmd.cpp
c++ -o build/59f4f0dd/mongo/db/storage/wiredtiger/oplog_stone_parameters_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/valgrind-3.14.0/include -Ibuild/59f4f0dd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/storage/wiredtiger/oplog_stone_parameters_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/index/index_descriptor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/index/index_descriptor.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/59f4f0dd/mongo/db/cloner_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/sessions_collection_standalone.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/sessions_collection_standalone.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/cloner.cpp:44:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/cloner.cpp:44:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/cloner_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/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/cloner.cpp:44:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/cloner.cpp:44:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/cloner_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/cloner_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/storage/wiredtiger/oplog_stone_parameters_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/s/clone_collection_options_from_primary_shard_cmd.cpp:35:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/s/libsharding_api_d.a build/59f4f0dd/mongo/db/s/collection_metadata.o build/59f4f0dd/mongo/db/s/collection_sharding_state.o build/59f4f0dd/mongo/db/s/database_sharding_state.o build/59f4f0dd/mongo/db/s/operation_sharding_state.o build/59f4f0dd/mongo/db/s/sharded_connection_info.o build/59f4f0dd/mongo/db/s/sharding_migration_critical_section.o build/59f4f0dd/mongo/db/s/sharding_state.o build/59f4f0dd/mongo/db/s/transaction_coordinator_curop.o build/59f4f0dd/mongo/db/s/transaction_coordinator_factory.o build/59f4f0dd/mongo/db/s/transaction_coordinator_worker_curop_repository.o
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/59f4f0dd/mongo/db/storage/wiredtiger/oplog_stone_parameters_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/s/libsharding_api_d.a
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
gcc -o build/59f4f0dd/third_party/kms-message/src/hexlify.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -DKMS_MSG_STATIC -DNDEBUG -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 -DKMS_MSG_STATIC -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -Isrc/third_party/kms-message/src -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/kms-message/src/hexlify.c
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/index/index_descriptor.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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: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/59f4f0dd/mongo/db/storage/wiredtiger/oplog_stone_parameters_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/rpc/libclient_metadata.a build/59f4f0dd/mongo/rpc/metadata/client_metadata.o
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616: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/59f4f0dd/mongo/db/storage/wiredtiger/oplog_stone_parameters_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
gcc -o build/59f4f0dd/third_party/kms-message/src/kms_response_parser.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -DKMS_MSG_STATIC -DNDEBUG -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 -DKMS_MSG_STATIC -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -Isrc/third_party/kms-message/src -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/kms-message/src/kms_response_parser.c
Skipping ranlib for thin archive build/59f4f0dd/mongo/rpc/libclient_metadata.a
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/index/index_descriptor.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
gcc -o build/59f4f0dd/third_party/kms-message/src/sort.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -DKMS_MSG_STATIC -DNDEBUG -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 -DKMS_MSG_STATIC -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -Isrc/third_party/kms-message/src -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/kms-message/src/sort.c
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/clone_collection_options_from_primary_shard_cmd.cpp:35:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
gcc -o build/59f4f0dd/third_party/kms-message/src/kms_request.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -DKMS_MSG_STATIC -DNDEBUG -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 -DKMS_MSG_STATIC -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -Isrc/third_party/kms-message/src -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/kms-message/src/kms_request.c
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
gcc -o build/59f4f0dd/third_party/kms-message/src/kms_message.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -DKMS_MSG_STATIC -DNDEBUG -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 -DKMS_MSG_STATIC -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -Isrc/third_party/kms-message/src -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/kms-message/src/kms_message.c
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/clone_collection_options_from_primary_shard_cmd.cpp:35:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
gcc -o build/59f4f0dd/third_party/kms-message/src/kms_encrypt_request.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -DKMS_MSG_STATIC -DNDEBUG -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 -DKMS_MSG_STATIC -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -Isrc/third_party/kms-message/src -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/kms-message/src/kms_encrypt_request.c
gcc -o build/59f4f0dd/third_party/kms-message/src/kms_port.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -DKMS_MSG_STATIC -DNDEBUG -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 -DKMS_MSG_STATIC -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -Isrc/third_party/kms-message/src -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/kms-message/src/kms_port.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/index/index_descriptor.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/index/index_descriptor.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/third_party/kms-message/src/kms_caller_identity_request.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -DKMS_MSG_STATIC -DNDEBUG -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 -DKMS_MSG_STATIC -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -Isrc/third_party/kms-message/src -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/kms-message/src/kms_caller_identity_request.c
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/clone_collection_options_from_primary_shard_cmd.cpp:35:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/third_party/kms-message/src/kms_response.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -DKMS_MSG_STATIC -DNDEBUG -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 -DKMS_MSG_STATIC -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -Isrc/third_party/kms-message/src -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/kms-message/src/kms_response.c
gcc -o build/59f4f0dd/third_party/kms-message/src/kms_crypto_libcrypto.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -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 -fno-builtin-memcmp -DKMS_MSG_STATIC -DNDEBUG -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 -DKMS_MSG_STATIC -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -Isrc/third_party/kms-message/src -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/kms-message/src/kms_crypto_libcrypto.c
c++ -o build/59f4f0dd/mongo/db/mongod_options_general_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/mongod_options_general_gen.cpp
ar rcsTD build/59f4f0dd/third_party/kms-message/libkms-message.a build/59f4f0dd/third_party/kms-message/src/hexlify.o build/59f4f0dd/third_party/kms-message/src/kms_azure_request.o build/59f4f0dd/third_party/kms-message/src/kms_b64.o build/59f4f0dd/third_party/kms-message/src/kms_caller_identity_request.o build/59f4f0dd/third_party/kms-message/src/kms_decrypt_request.o build/59f4f0dd/third_party/kms-message/src/kms_encrypt_request.o build/59f4f0dd/third_party/kms-message/src/kms_gcp_request.o build/59f4f0dd/third_party/kms-message/src/kms_kv_list.o build/59f4f0dd/third_party/kms-message/src/kms_message.o build/59f4f0dd/third_party/kms-message/src/kms_port.o build/59f4f0dd/third_party/kms-message/src/kms_request_opt.o build/59f4f0dd/third_party/kms-message/src/kms_request_str.o build/59f4f0dd/third_party/kms-message/src/kms_request.o build/59f4f0dd/third_party/kms-message/src/kms_response_parser.o build/59f4f0dd/third_party/kms-message/src/kms_response.o build/59f4f0dd/third_party/kms-message/src/sort.o build/59f4f0dd/third_party/kms-message/src/kms_crypto_libcrypto.o
Skipping ranlib for thin archive build/59f4f0dd/third_party/kms-message/libkms-message.a
c++ -o build/59f4f0dd/mongo/db/s/config/sharding_catalog_manager_collection_operations.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/config/sharding_catalog_manager_collection_operations.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/curop_failpoint_helpers.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/curop_failpoint_helpers.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/logical_clock.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/logical_clock.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/command_generic_argument.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/command_generic_argument.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/index/libindex_descriptor.a build/59f4f0dd/mongo/db/index/index_descriptor.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/index/libindex_descriptor.a
c++ -o build/59f4f0dd/third_party/s2/s2regionunion.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DDEBUG_MODE=false -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/third_party/s2/s2regionunion.cc
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/59f4f0dd/mongo/db/mongod_options_general_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/libcloner.a build/59f4f0dd/mongo/db/cloner.o build/59f4f0dd/mongo/db/cloner_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libcloner.a
c++ -o build/59f4f0dd/mongo/s/request_types/merge_chunk_request_type.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/request_types/merge_chunk_request_type.cpp
c++ -o build/59f4f0dd/mongo/db/pipeline/accumulator_last.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/accumulator_last.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/sharding_catalog_manager_collection_operations.cpp:49:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/curop_failpoint_helpers.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/59f4f0dd/mongo/db/mongod_options_general_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/mongod_options_general_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/catalog/collection_catalog.h:36,
                 from src/mongo/db/curop.h:35,
                 from src/mongo/db/curop_failpoint_helpers.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/mongod_options_general_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/stats/storage_stats.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/stats/storage_stats.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/s/config/sharding_catalog_manager_collection_operations.cpp:49:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
gcc -o build/59f4f0dd/third_party/wiredtiger/src/support/pow.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/support/pow.c
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/sharding_catalog_manager_collection_operations.cpp:49:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/catalog/collection.h:48,
                 from src/mongo/db/catalog/collection_catalog.h:36,
                 from src/mongo/db/curop.h:35,
                 from src/mongo/db/curop_failpoint_helpers.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_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/sharding_catalog_manager_collection_operations.cpp:49:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/curop_failpoint_helpers.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/liblogical_clock.a build/59f4f0dd/mongo/db/logical_clock.o build/59f4f0dd/mongo/db/logical_clock_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/liblogical_clock.a
c++ -o build/59f4f0dd/mongo/db/s/config/configsvr_commit_chunk_migration_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/config/configsvr_commit_chunk_migration_command.cpp
c++ -o build/59f4f0dd/mongo/s/request_types/set_allow_migrations_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/s/request_types/set_allow_migrations_gen.cpp
c++ -o build/59f4f0dd/mongo/client/index_spec.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/index_spec.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<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/client/dbclient_base.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/dbclient_base.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/stats/storage_stats.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/stats/storage_stats.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/s/request_types/set_allow_migrations_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/s/config/configsvr_commit_chunk_migration_command.cpp:36:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 build/59f4f0dd/mongo/s/request_types/set_allow_migrations_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/stats/storage_stats.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_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/59f4f0dd/mongo/s/request_types/set_allow_migrations_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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/stats/storage_stats.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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: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/59f4f0dd/mongo/s/request_types/set_allow_migrations_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from src/mongo/db/s/config/configsvr_commit_chunk_migration_command.cpp:36:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/operation_key_manager.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/operation_key_manager.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_commit_chunk_migration_command.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_commit_chunk_migration_command.cpp:36:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/libcurop_failpoint_helpers.a build/59f4f0dd/mongo/db/curop_failpoint_helpers.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libcurop_failpoint_helpers.a
c++ -o build/59f4f0dd/mongo/db/repl_set_member_in_standalone_mode.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl_set_member_in_standalone_mode.cpp
c++ -o build/59f4f0dd/mongo/db/operation_id.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/operation_id.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/server_recovery.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/server_recovery.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/client/dbclient_base.cpp:51:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/operation_context.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/operation_context.cpp
c++ -o build/59f4f0dd/mongo/db/default_baton.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/default_baton.cpp
gcc -o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_debug.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/btree/bt_debug.c
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
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/client/dbclient_base.cpp:51:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/client/dbclient_base.cpp:51:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/client/dbclient_base.cpp:51:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_from_int.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_from_int.c
c++ -o build/59f4f0dd/mongo/s/write_ops/write_error_detail.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/write_ops/write_error_detail.cpp
c++ -o build/59f4f0dd/mongo/db/s/shard_server_catalog_cache_loader.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/shard_server_catalog_cache_loader.cpp
c++ -o build/59f4f0dd/mongo/client/sasl_client_conversation.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/sasl_client_conversation.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sub.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sub.c
ar rcsTD build/59f4f0dd/mongo/db/librange_arithmetic.a build/59f4f0dd/mongo/db/range_arithmetic.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/librange_arithmetic.a
c++ -o build/59f4f0dd/mongo/db/repl/oplog_batcher.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/oplog_batcher.cpp
c++ -o build/59f4f0dd/mongo/db/repl/oplog_applier.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/oplog_applier.cpp
c++ -o build/59f4f0dd/mongo/db/storage/remove_saver.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/remove_saver.cpp
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/text_multifile_backend.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/log/src/text_multifile_backend.cpp
gcc -o build/59f4f0dd/third_party/wiredtiger/src/os_posix/os_yield.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/os_posix/os_yield.c
Generating build/59f4f0dd/mongo/s/request_types/create_collection_gen.cpp
c++ -o build/59f4f0dd/mongo/s/request_types/create_collection_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/s/request_types/create_collection_gen.cpp
ar rcsTD build/59f4f0dd/mongo/db/libservice_context.a build/59f4f0dd/mongo/db/baton.o build/59f4f0dd/mongo/db/client.o build/59f4f0dd/mongo/db/default_baton.o build/59f4f0dd/mongo/db/operation_context.o build/59f4f0dd/mongo/db/operation_context_group.o build/59f4f0dd/mongo/db/operation_id.o build/59f4f0dd/mongo/db/operation_key_manager.o build/59f4f0dd/mongo/db/service_context.o build/59f4f0dd/mongo/db/server_recovery.o build/59f4f0dd/mongo/db/unclean_shutdown.o build/59f4f0dd/mongo/db/repl_set_member_in_standalone_mode.o
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libservice_context.a
ar rcsTD build/59f4f0dd/mongo/db/repl/librollback_source_impl.a build/59f4f0dd/mongo/db/repl/rollback_source_impl.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/librollback_source_impl.a
c++ -o build/59f4f0dd/mongo/db/pipeline/expression.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/expression.cpp
c++ -o build/59f4f0dd/mongo/db/pipeline/accumulator_std_dev.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/accumulator_std_dev.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/repl/storage_interface.h:40,
                 from src/mongo/db/repl/oplog_batcher.h:34,
                 from src/mongo/db/repl/oplog_batcher.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/oplog_applier.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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_batcher.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595: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/s/shard_server_catalog_cache_loader.cpp:43:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/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/oplog_applier.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_raii.h:33,
                 from src/mongo/db/db_raii.h:34,
                 from src/mongo/db/s/shard_server_catalog_cache_loader.cpp:43:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/oplog_applier.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_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_batcher.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/oplog_applier.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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: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_batcher.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_raii.h:33,
                 from src/mongo/db/db_raii.h:34,
                 from src/mongo/db/s/shard_server_catalog_cache_loader.cpp:43:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/s/shard_server_catalog_cache_loader.cpp:43:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/s/request_types/create_collection_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/repl/oplog_batcher.cpp: In member function 'mongo::StatusWith<std::vector<mongo::repl::OplogEntry> > mongo::repl::OplogBatcher::getNextApplierBatch(mongo::OperationContext*, const mongo::repl::OplogBatcher::BatchLimits&)':
src/mongo/db/repl/oplog_batcher.cpp:198:33: warning: redundant move in return statement [-Wredundant-move]
  198 |                 return std::move(ops);
      |                        ~~~~~~~~~^~~~~
src/mongo/db/repl/oplog_batcher.cpp:198:33: note: remove 'std::move' call
src/mongo/db/repl/oplog_batcher.cpp:209:29: warning: redundant move in return statement [-Wredundant-move]
  209 |             return std::move(ops);
      |                    ~~~~~~~~~^~~~~
src/mongo/db/repl/oplog_batcher.cpp:209:29: note: remove 'std::move' call
src/mongo/db/repl/oplog_batcher.cpp:217:33: warning: redundant move in return statement [-Wredundant-move]
  217 |                 return std::move(ops);
      |                        ~~~~~~~~~^~~~~
src/mongo/db/repl/oplog_batcher.cpp:217:33: note: remove 'std::move' call
src/mongo/db/repl/oplog_batcher.cpp:225:29: warning: redundant move in return statement [-Wredundant-move]
  225 |             return std::move(ops);
      |                    ~~~~~~~~~^~~~~
src/mongo/db/repl/oplog_batcher.cpp:225:29: note: remove 'std::move' call
src/mongo/db/repl/oplog_batcher.cpp:234:21: warning: redundant move in return statement [-Wredundant-move]
  234 |     return std::move(ops);
      |            ~~~~~~~~~^~~~~
src/mongo/db/repl/oplog_batcher.cpp:234:21: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/storage/libremove_saver.a build/59f4f0dd/mongo/db/storage/remove_saver.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/libremove_saver.a
c++ -o build/59f4f0dd/mongo/db/lasterror.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/lasterror.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/59f4f0dd/mongo/s/request_types/create_collection_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/client/libclientdriver_minimal.a build/59f4f0dd/mongo/client/dbclient_base.o build/59f4f0dd/mongo/client/dbclient_cursor.o build/59f4f0dd/mongo/client/index_spec.o
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/59f4f0dd/mongo/s/request_types/create_collection_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
Skipping ranlib for thin archive build/59f4f0dd/mongo/client/libclientdriver_minimal.a
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/s/request_types/create_collection_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/pipeline/expression.h:47,
                 from src/mongo/db/pipeline/expression.cpp:33:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/scripting/mozjs/numberlong.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/numberlong.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_std_dev.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
In file included from src/mongo/db/pipeline/accumulator.h:43,
                 from src/mongo/db/pipeline/accumulator_std_dev.cpp:32:
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionFromAccumulator<mongo::AccumulatorStdDevPop>]':
src/mongo/db/pipeline/accumulator_std_dev.cpp:45:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
  350 |         return std::move(expr);
      |                              ^
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionFromAccumulator<mongo::AccumulatorStdDevSamp>]':
src/mongo/db/pipeline/accumulator_std_dev.cpp:46:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: 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_batcher.cpp:32:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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.cpp:33:
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionArray]':
src/mongo/db/pipeline/expression.cpp:197:33:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
  350 |         return std::move(expr);
      |                              ^
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionAbs]':
src/mongo/db/pipeline/expression.cpp:271:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionAdd]':
src/mongo/db/pipeline/expression.cpp:353:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionAllElementsTrue]':
src/mongo/db/pipeline/expression.cpp:375:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionAnd]':
src/mongo/db/pipeline/expression.cpp:449:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionAnyElementTrue]':
src/mongo/db/pipeline/expression.cpp:471:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionArrayElemAt]':
src/mongo/db/pipeline/expression.cpp:562:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionFirst]':
src/mongo/db/pipeline/expression.cpp:574:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionLast]':
src/mongo/db/pipeline/expression.cpp:589:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionObjectToArray]':
src/mongo/db/pipeline/expression.cpp:625:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionArrayToObject]':
src/mongo/db/pipeline/expression.cpp:736:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionBsonSize]':
src/mongo/db/pipeline/expression.cpp:743:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionCeil]':
src/mongo/db/pipeline/expression.cpp:777:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionConcat]':
src/mongo/db/pipeline/expression.cpp:938:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionConcatArrays]':
src/mongo/db/pipeline/expression.cpp:966:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionCond]':
src/mongo/db/pipeline/expression.cpp:984:22:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionDivide]':
src/mongo/db/pipeline/expression.cpp:1942:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionExp]':
src/mongo/db/pipeline/expression.cpp:1957:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionFloor]':
src/mongo/db/pipeline/expression.cpp:2366:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionMod]':
src/mongo/db/pipeline/expression.cpp:2819:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionMultiply]':
src/mongo/db/pipeline/expression.cpp:2889:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionIfNull]':
src/mongo/db/pipeline/expression.cpp:2905:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionIn]':
src/mongo/db/pipeline/expression.cpp:2928:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionIndexOfArray]':
src/mongo/db/pipeline/expression.cpp:3077:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionIndexOfBytes]':
src/mongo/db/pipeline/expression.cpp:3142:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionIndexOfCP]':
src/mongo/db/pipeline/expression.cpp:3229:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionLn]':
src/mongo/db/pipeline/expression.cpp:3250:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionLog]':
src/mongo/db/pipeline/expression.cpp:3294:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionLog10]':
src/mongo/db/pipeline/expression.cpp:3316:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionNot]':
src/mongo/db/pipeline/expression.cpp:3453:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionOr]':
src/mongo/db/pipeline/expression.cpp:3523:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionPow]':
src/mongo/db/pipeline/expression.cpp:3744:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionRange]':
src/mongo/db/pipeline/expression.cpp:3820:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionReverseArray]':
src/mongo/db/pipeline/expression.cpp:4107:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionSetDifference]':
src/mongo/db/pipeline/expression.cpp:4161:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionSetEquals]':
src/mongo/db/pipeline/expression.cpp:4203:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionSetIntersection]':
src/mongo/db/pipeline/expression.cpp:4247:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionSetIsSubset]':
src/mongo/db/pipeline/expression.cpp:4339:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionSetUnion]':
src/mongo/db/pipeline/expression.cpp:4364:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionIsArray]':
src/mongo/db/pipeline/expression.cpp:4376:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionSlice]':
src/mongo/db/pipeline/expression.cpp:4462:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionSize]':
src/mongo/db/pipeline/expression.cpp:4479:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionSplit]':
src/mongo/db/pipeline/expression.cpp:4529:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionSqrt]':
src/mongo/db/pipeline/expression.cpp:4551:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionStrcasecmp]':
src/mongo/db/pipeline/expression.cpp:4575:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionSubstrBytes]':
src/mongo/db/pipeline/expression.cpp:4636:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionSubstrCP]':
src/mongo/db/pipeline/expression.cpp:4710:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionStrLenBytes]':
src/mongo/db/pipeline/expression.cpp:4739:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionBinarySize]':
src/mongo/db/pipeline/expression.cpp:4765:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionStrLenCP]':
src/mongo/db/pipeline/expression.cpp:4793:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionSubtract]':
src/mongo/db/pipeline/expression.cpp:4845:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionToLower]':
src/mongo/db/pipeline/expression.cpp:4997:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionToUpper]':
src/mongo/db/pipeline/expression.cpp:5011:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionRound]':
src/mongo/db/pipeline/expression.cpp:5331:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionTrunc]':
src/mongo/db/pipeline/expression.cpp:5344:58:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionType]':
src/mongo/db/pipeline/expression.cpp:5359:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionIsNumber]':
src/mongo/db/pipeline/expression.cpp:5371:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/pipeline/expression.h:350:30: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/third_party/s2/base/strtoint.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -Isrc/third_party/s2 -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/third_party/s2/base/strtoint.cc
c++ -o build/59f4f0dd/mongo/rpc/reply_builder_interface.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/rpc/reply_builder_interface.cpp
ar rcsTD build/59f4f0dd/mongo/db/repl/liboplog_application_interface.a build/59f4f0dd/mongo/db/repl/oplog_applier.o build/59f4f0dd/mongo/db/repl/oplog_batcher.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/liboplog_application_interface.a
Generating build/59f4f0dd/mongo/s/request_types/balancer_collection_status_gen.cpp
c++ -o build/59f4f0dd/mongo/executor/network_interface_thread_pool.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/executor/network_interface_thread_pool.cpp
c++ -o build/59f4f0dd/mongo/db/s/balancer/balancer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/balancer/balancer.cpp
gcc -o build/59f4f0dd/third_party/wiredtiger/src/block/block_slvg.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/block/block_slvg.c
c++ -o build/59f4f0dd/mongo/executor/network_interface_factory.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/executor/network_interface_factory.cpp
c++ -o build/59f4f0dd/mongo/db/commands/server_status_internal.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/server_status_internal.cpp
c++ -o build/59f4f0dd/mongo/db/update/update_driver.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/update/update_driver.cpp
ar rcsTD build/59f4f0dd/third_party/boost-1.70.0/libboost_system.a build/59f4f0dd/third_party/boost-1.70.0/libs/system/src/error_code.o
Skipping ranlib for thin archive build/59f4f0dd/third_party/boost-1.70.0/libboost_system.a
c++ -o build/59f4f0dd/mongo/db/index/wildcard_key_generator.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/index/wildcard_key_generator.cpp
ar rcsTD build/59f4f0dd/mongo/liblinenoise_utf8.a build/59f4f0dd/mongo/shell/linenoise_utf8.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/liblinenoise_utf8.a
c++ -o build/59f4f0dd/mongo/scripting/mozjs/numberint.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/numberint.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_llrintd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_llrintd.c
c++ -o build/59f4f0dd/mongo/db/auth/sasl_options_init.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/sasl_options_init.cpp
In file included from src/mongo/db/matcher/expression_parser.h:37,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/update/update_driver.h:42,
                 from src/mongo/db/update/update_driver.cpp:30:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/auth/sasl_options_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/auth/sasl_options_gen.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/update/update_driver.h:42,
                 from src/mongo/db/update/update_driver.cpp:30:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/pipeline/pipeline.h:40,
                 from src/mongo/db/update/update_driver.h:42,
                 from src/mongo/db/update/update_driver.cpp:30:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/pipeline/pipeline.h:40,
                 from src/mongo/db/update/update_driver.h:42,
                 from src/mongo/db/update/update_driver.cpp:30:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/executor/libnetwork_interface_thread_pool.a build/59f4f0dd/mongo/executor/network_interface_thread_pool.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/executor/libnetwork_interface_thread_pool.a
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/index/wildcard_key_generator.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/repair_database_and_check_version.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repair_database_and_check_version.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/index/wildcard_key_generator.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/index/wildcard_key_generator.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/index/wildcard_key_generator.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/pipeline/dependencies.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/dependencies.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp2.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp2.c
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/59f4f0dd/mongo/db/auth/sasl_options_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp2.c: In function '__bid128_exp2':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp2.c:71:21: warning: unused variable 't' [-Wunused-variable]
   71 |   BID_UINT128 m, n, t;
      |                     ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp2.c:71:18: warning: unused variable 'n' [-Wunused-variable]
   71 |   BID_UINT128 m, n, t;
      |                  ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp2.c:71:15: warning: unused variable 'm' [-Wunused-variable]
   71 |   BID_UINT128 m, n, t;
      |               ^
c++ -o build/59f4f0dd/mongo/db/s/config/configsvr_add_shard_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/config/configsvr_add_shard_command.cpp
In file included from src/mongo/db/matcher/expression_parser.h:39,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/update/update_driver.h:42,
                 from src/mongo/db/update/update_driver.cpp:30:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 build/59f4f0dd/mongo/db/auth/sasl_options_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
Generating build/59f4f0dd/mongo/db/catalog/multi_index_block_gen.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/catalog/multi_index_block_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/catalog/multi_index_block_gen.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/auth/sasl_options_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/auth/sasl_options_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/repair_database_and_check_version.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/repair_database_and_check_version.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/repair_database_and_check_version.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/repair_database_and_check_version.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/update/libupdate_driver.a build/59f4f0dd/mongo/db/update/update_driver.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/update/libupdate_driver.a
c++ -o build/59f4f0dd/mongo/db/pipeline/map_reduce_options_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/pipeline/map_reduce_options_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_add_shard_command.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
gcc -o build/59f4f0dd/third_party/wiredtiger/src/support/modify.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/support/modify.c
ar rcsTD build/59f4f0dd/mongo/db/pipeline/libdependencies.a build/59f4f0dd/mongo/db/pipeline/dependencies.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/pipeline/libdependencies.a
gcc -o build/59f4f0dd/third_party/wiredtiger/src/support/hash_city.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/support/hash_city.c
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_add_shard_command.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/catalog/multi_index_block_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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_add_shard_command.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_add_shard_command.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_modf.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_modf.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int8.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int8.c
c++ -o build/59f4f0dd/mongo/db/repl/repl_settings.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/repl_settings.cpp
Generating build/59f4f0dd/mongo/db/matcher/schema/encrypt_schema_gen.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/59f4f0dd/mongo/db/catalog/multi_index_block_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/matcher/schema/encrypt_schema_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/matcher/schema/encrypt_schema_gen.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/catalog/multi_index_block_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/catalog/multi_index_block_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/repl/bson_extract_optime.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/bson_extract_optime.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/59f4f0dd/mongo/db/pipeline/map_reduce_options_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/auth/libsasl_options_init.a build/59f4f0dd/mongo/db/auth/sasl_options_init.o build/59f4f0dd/mongo/db/auth/sasl_options_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/auth/libsasl_options_init.a
c++ -o build/59f4f0dd/mongo/util/concurrency/spin_lock.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/concurrency/spin_lock.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/59f4f0dd/mongo/db/pipeline/map_reduce_options_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/pipeline/map_reduce_options_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/pipeline/map_reduce_options_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
/usr/pkg/bin/python3.12 src/mongo/db/fts/unicode/gen_diacritic_list.py src/third_party/unicode-8.0.0/PropList.txt build/59f4f0dd/mongo/db/fts/unicode/codepoints_diacritic_list.cpp
c++ -o build/59f4f0dd/mongo/db/fts/unicode/codepoints_diacritic_list.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/fts/unicode/codepoints_diacritic_list.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_next.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_next.c
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp.c: In function '__bid128_exp':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp.c:71:21: warning: unused variable 't' [-Wunused-variable]
   71 |   BID_UINT128 m, n, t;
      |                     ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp.c:71:18: warning: unused variable 'n' [-Wunused-variable]
   71 |   BID_UINT128 m, n, t;
      |                  ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp.c:71:15: warning: unused variable 'm' [-Wunused-variable]
   71 |   BID_UINT128 m, n, t;
      |               ^
c++ -o build/59f4f0dd/mongo/executor/async_multicaster.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/executor/async_multicaster.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_log.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_log.c
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_log.c: In function '__dpml_bid_C_ux_log__':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_log.c:150:23: warning: unused variable 'index' [-Wunused-variable]
  150 |     WORD    fp_class, index;
      |                       ^~~~~
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/transactions_stats_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/transactions_stats_gen.cpp
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_convert_data.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_convert_data.c
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/59f4f0dd/mongo/db/matcher/schema/encrypt_schema_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_acos.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_acos.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tanh.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tanh.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atanh.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atanh.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int32.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int32.c
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/59f4f0dd/mongo/db/matcher/schema/encrypt_schema_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_add.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_add.c
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/matcher/schema/encrypt_schema_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_sqrt.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_sqrt.c
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/59f4f0dd/mongo/db/matcher/schema/encrypt_schema_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp10.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp10.c
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_sqrt.c: In function '__dpml_bid_ux_sqrt_evaluation__':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_sqrt.c:76:27: warning: unused variable 'cshift' [-Wunused-variable]
   76 |     U_WORD  index, shift, cshift;
      |                           ^~~~~~
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fdimd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fdimd.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int64.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int64.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_pow.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_pow.c
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_pow.c: In function '__dpml_bid_ux_pow__':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_pow.c:93:55: warning: unused variable 'w' [-Wunused-variable]
   93 |     UX_FLOAT tmp[3], log2_hi, log2_lo, z, z_lo, u, r, w, h;
      |                                                       ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_pow.c:93:43: warning: unused variable 'z_lo' [-Wunused-variable]
   93 |     UX_FLOAT tmp[3], log2_hi, log2_lo, z, z_lo, u, r, w, h;
      |                                           ^~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_pow.c:93:22: warning: unused variable 'log2_hi' [-Wunused-variable]
   93 |     UX_FLOAT tmp[3], log2_hi, log2_lo, z, z_lo, u, r, w, h;
      |                      ^~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_pow.c: In function '__dpml_bid_C_ux_pow__':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_pow.c:409:40: warning: unused variable 'p' [-Wunused-variable]
  409 |     WORD local_class_action_array[3], *p;
      |                                        ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_pow.c:409:10: warning: unused variable 'local_class_action_array' [-Wunused-variable]
  409 |     WORD local_class_action_array[3], *p;
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint32.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint32.c
ar rcsTD build/59f4f0dd/mongo/db/librepair_database_and_check_version.a build/59f4f0dd/mongo/db/repair_database_and_check_version.o
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_erfc.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_erfc.c
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/librepair_database_and_check_version.a
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log10.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log10.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bid.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bid.c
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_erfc.c: In function '__bid128_erfc':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_erfc.c:70:33: warning: unused variable 'zd' [-Wunused-variable]
   70 |   BID_F128_TYPE xd, ed, wd, yd, zd, xdi, xi2, pd;
      |                                 ^~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_erfc.c:70:25: warning: unused variable 'wd' [-Wunused-variable]
   70 |   BID_F128_TYPE xd, ed, wd, yd, zd, xdi, xi2, pd;
      |                         ^~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bid.c:58:1: warning: "/*" within comment [-Wcomment]
   58 | /* Basic arithmetic operations
      |  
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bid.c:59:1: warning: "/*" within comment [-Wcomment]
   59 | /*
      |  
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bid.c:60:1: warning: "/*" within comment [-Wcomment]
   60 | /******************************************************************************/
      |  
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bid.c: In function 'bid_f128_neg':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bid.c:207:38: warning: unused variable 'unpacked_result' [-Wunused-variable]
  207 |     UX_FLOAT unpacked_x, unpacked_y, unpacked_result;
      |                                      ^~~~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bid.c:207:26: warning: unused variable 'unpacked_y' [-Wunused-variable]
  207 |     UX_FLOAT unpacked_x, unpacked_y, unpacked_result;
      |                          ^~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bid.c: In function 'bid_f128_fabs':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bid.c:227:38: warning: unused variable 'unpacked_result' [-Wunused-variable]
  227 |     UX_FLOAT unpacked_x, unpacked_y, unpacked_result;
      |                                      ^~~~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bid.c:227:26: warning: unused variable 'unpacked_y' [-Wunused-variable]
  227 |     UX_FLOAT unpacked_x, unpacked_y, unpacked_result;
      |                          ^~~~~~~~~~
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128.c
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bid.c: In function 'bid_f128_cmp':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bid.c:377:38: warning: unused variable 'unpacked_result' [-Wunused-variable]
  377 |     UX_FLOAT unpacked_x, unpacked_y, unpacked_result;
      |                                      ^~~~~~~~~~~~~~~
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_exp10.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_exp10.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int8.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int8.c
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c: In function '__bid128_pow':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
  695 |         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
      |                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:744:4: note: in expansion of macro '__add_carry_in_out'
  744 |    __add_carry_in_out(S1,CA1,(X).w[1],(Y).w[1],CA0);      \
      |    ^~~~~~~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1013:6: note: in expansion of macro '__add_192_192'
 1013 |      __add_192_192(ans,ans,loc);
      |      ^~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
  695 |         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
      |                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:745:4: note: in expansion of macro '__add_carry_in_out'
  745 |    __add_carry_in_out(S2,CA2,(X).w[2],(Y).w[2],CA1);      \
      |    ^~~~~~~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1013:6: note: in expansion of macro '__add_192_192'
 1013 |      __add_192_192(ans,ans,loc);
      |      ^~~~~~~~~~~~~
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sin.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sin.c
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
  695 |         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
      |                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:744:4: note: in expansion of macro '__add_carry_in_out'
  744 |    __add_carry_in_out(S1,CA1,(X).w[1],(Y).w[1],CA0);      \
      |    ^~~~~~~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1052:3: note: in expansion of macro '__add_192_192'
 1052 |   __add_192_192(sx,sx,cxp);
      |   ^~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
  695 |         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
      |                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:745:4: note: in expansion of macro '__add_carry_in_out'
  745 |    __add_carry_in_out(S2,CA2,(X).w[2],(Y).w[2],CA1);      \
      |    ^~~~~~~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1052:3: note: in expansion of macro '__add_192_192'
 1052 |   __add_192_192(sx,sx,cxp);
      |   ^~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
  695 |         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
      |                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:744:4: note: in expansion of macro '__add_carry_in_out'
  744 |    __add_carry_in_out(S1,CA1,(X).w[1],(Y).w[1],CA0);      \
      |    ^~~~~~~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1056:3: note: in expansion of macro '__add_192_192'
 1056 |   __add_192_192(sx,sx,cxp);
      |   ^~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
  695 |         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
      |                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:745:4: note: in expansion of macro '__add_carry_in_out'
  745 |    __add_carry_in_out(S2,CA2,(X).w[2],(Y).w[2],CA1);      \
      |    ^~~~~~~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1056:3: note: in expansion of macro '__add_192_192'
 1056 |   __add_192_192(sx,sx,cxp);
      |   ^~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
  695 |         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
      |                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:744:4: note: in expansion of macro '__add_carry_in_out'
  744 |    __add_carry_in_out(S1,CA1,(X).w[1],(Y).w[1],CA0);      \
      |    ^~~~~~~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1060:3: note: in expansion of macro '__add_192_192'
 1060 |   __add_192_192(sx,sx,cxp);
      |   ^~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
  695 |         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
      |                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:745:4: note: in expansion of macro '__add_carry_in_out'
  745 |    __add_carry_in_out(S2,CA2,(X).w[2],(Y).w[2],CA1);      \
      |    ^~~~~~~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1060:3: note: in expansion of macro '__add_192_192'
 1060 |   __add_192_192(sx,sx,cxp);
      |   ^~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
  695 |         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
      |                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:744:4: note: in expansion of macro '__add_carry_in_out'
  744 |    __add_carry_in_out(S1,CA1,(X).w[1],(Y).w[1],CA0);      \
      |    ^~~~~~~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1064:3: note: in expansion of macro '__add_192_192'
 1064 |   __add_192_192(sx,sx,cxp);
      |   ^~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
  695 |         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
      |                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:745:4: note: in expansion of macro '__add_carry_in_out'
  745 |    __add_carry_in_out(S2,CA2,(X).w[2],(Y).w[2],CA1);      \
      |    ^~~~~~~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1064:3: note: in expansion of macro '__add_192_192'
 1064 |   __add_192_192(sx,sx,cxp);
      |   ^~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
  695 |         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
      |                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:744:4: note: in expansion of macro '__add_carry_in_out'
  744 |    __add_carry_in_out(S1,CA1,(X).w[1],(Y).w[1],CA0);      \
      |    ^~~~~~~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1068:3: note: in expansion of macro '__add_192_192'
 1068 |   __add_192_192(sx,sx,cxp);
      |   ^~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
  695 |         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
      |                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:745:4: note: in expansion of macro '__add_carry_in_out'
  745 |    __add_carry_in_out(S2,CA2,(X).w[2],(Y).w[2],CA1);      \
      |    ^~~~~~~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1068:3: note: in expansion of macro '__add_192_192'
 1068 |   __add_192_192(sx,sx,cxp);
      |   ^~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
  695 |         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
      |                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:744:4: note: in expansion of macro '__add_carry_in_out'
  744 |    __add_carry_in_out(S1,CA1,(X).w[1],(Y).w[1],CA0);      \
      |    ^~~~~~~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1072:3: note: in expansion of macro '__add_192_192'
 1072 |   __add_192_192(sx,sx,cxp);
      |   ^~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
  695 |         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
      |                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:745:4: note: in expansion of macro '__add_carry_in_out'
  745 |    __add_carry_in_out(S2,CA2,(X).w[2],(Y).w[2],CA1);      \
      |    ^~~~~~~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1072:3: note: in expansion of macro '__add_192_192'
 1072 |   __add_192_192(sx,sx,cxp);
      |   ^~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
  695 |         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
      |                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:744:4: note: in expansion of macro '__add_carry_in_out'
  744 |    __add_carry_in_out(S1,CA1,(X).w[1],(Y).w[1],CA0);      \
      |    ^~~~~~~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1076:3: note: in expansion of macro '__add_192_192'
 1076 |   __add_192_192(sx,sx,cxp);
      |   ^~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
  695 |         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
      |                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:745:4: note: in expansion of macro '__add_carry_in_out'
  745 |    __add_carry_in_out(S2,CA2,(X).w[2],(Y).w[2],CA1);      \
      |    ^~~~~~~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1076:3: note: in expansion of macro '__add_192_192'
 1076 |   __add_192_192(sx,sx,cxp);
      |   ^~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
  695 |         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
      |                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:744:4: note: in expansion of macro '__add_carry_in_out'
  744 |    __add_carry_in_out(S1,CA1,(X).w[1],(Y).w[1],CA0);      \
      |    ^~~~~~~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1080:3: note: in expansion of macro '__add_192_192'
 1080 |   __add_192_192(sx,sx,cxp);
      |   ^~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
  695 |         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
      |                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:745:4: note: in expansion of macro '__add_carry_in_out'
  745 |    __add_carry_in_out(S2,CA2,(X).w[2],(Y).w[2],CA1);      \
      |    ^~~~~~~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1080:3: note: in expansion of macro '__add_192_192'
 1080 |   __add_192_192(sx,sx,cxp);
      |   ^~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
  695 |         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
      |                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:744:4: note: in expansion of macro '__add_carry_in_out'
  744 |    __add_carry_in_out(S1,CA1,(X).w[1],(Y).w[1],CA0);      \
      |    ^~~~~~~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1084:3: note: in expansion of macro '__add_192_192'
 1084 |   __add_192_192(sx,sx,cxp);
      |   ^~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
  695 |         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
      |                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:745:4: note: in expansion of macro '__add_carry_in_out'
  745 |    __add_carry_in_out(S2,CA2,(X).w[2],(Y).w[2],CA1);      \
      |    ^~~~~~~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1084:3: note: in expansion of macro '__add_192_192'
 1084 |   __add_192_192(sx,sx,cxp);
      |   ^~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:980:16: warning: unused variable 'z' [-Wunused-variable]
  980 | { int e, k, b, z, s_log;
      |                ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:838:24: warning: unused variable 'is_signed' [-Wunused-variable]
  838 |   int is_nan, is_zero, is_signed, cmp_res, is_int;
      |                        ^~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:838:15: warning: unused variable 'is_zero' [-Wunused-variable]
  838 |   int is_nan, is_zero, is_signed, cmp_res, is_int;
      |               ^~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:838:7: warning: unused variable 'is_nan' [-Wunused-variable]
  838 |   int is_nan, is_zero, is_signed, cmp_res, is_int;
      |       ^~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:836:18: warning: unused variable 'tmp_res' [-Wunused-variable]
  836 |   int s, is_odd, tmp_res;
      |                  ^~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:836:7: warning: unused variable 's' [-Wunused-variable]
  836 |   int s, is_odd, tmp_res;
      |       ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:835:25: warning: unused variable 'rq' [-Wunused-variable]
  835 |   BID_F128_TYPE xq, yq, rq;
      |                         ^~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:835:21: warning: unused variable 'yq' [-Wunused-variable]
  835 |   BID_F128_TYPE xq, yq, rq;
      |                     ^~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:835:17: warning: unused variable 'xq' [-Wunused-variable]
  835 |   BID_F128_TYPE xq, yq, rq;
      |                 ^~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:834:19: warning: unused variable 'C2' [-Wunused-variable]
  834 |   BID_UINT128 C1, C2, y_int;
      |                   ^~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:834:15: warning: unused variable 'C1' [-Wunused-variable]
  834 |   BID_UINT128 C1, C2, y_int;
      |               ^~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:833:7: warning: unused variable 'true_p_exp' [-Wunused-variable]
  833 |   int true_p_exp;
      |       ^~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:832:28: warning: unused variable 'p_exp' [-Wunused-variable]
  832 |   BID_UINT64 x_exp, y_exp, p_exp;
      |                            ^~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:832:21: warning: unused variable 'y_exp' [-Wunused-variable]
  832 |   BID_UINT64 x_exp, y_exp, p_exp;
      |                     ^~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:832:14: warning: unused variable 'x_exp' [-Wunused-variable]
  832 |   BID_UINT64 x_exp, y_exp, p_exp;
      |              ^~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:831:30: warning: unused variable 'p_sign' [-Wunused-variable]
  831 |   BID_UINT64 x_sign, y_sign, p_sign;
      |                              ^~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:831:22: warning: unused variable 'y_sign' [-Wunused-variable]
  831 |   BID_UINT64 x_sign, y_sign, p_sign;
      |                      ^~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:831:14: warning: unused variable 'x_sign' [-Wunused-variable]
  831 |   BID_UINT64 x_sign, y_sign, p_sign;
      |              ^~~~~~
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_tan.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_tan.c
At top level:
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:37:20: warning: 'BID128_NEGINF' defined but not used [-Wunused-variable]
   37 | static BID_UINT128 BID128_NEGINF = {BID128_LH_INIT( 0x0000000000000000ull, 0xF800000000000000ull )};
      |                    ^~~~~~~~~~~~~
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fma.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fma.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_fmod.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_fmod.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_tanh.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_tanh.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_asin.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_asin.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_mul.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_mul.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cosh.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cosh.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int32.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int32.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_bid64.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_bid64.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lround.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lround.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lgamma.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lgamma.c
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/59f4f0dd/mongo/db/transactions_stats_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atan2.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atan2.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_nearbyintd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_nearbyintd.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_asinh.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_asinh.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_tgamma.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_tgamma.c
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_asinh.c: In function '__bid128_asinh':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_asinh.c:38:38: warning: unused variable 'exponent_res' [-Wunused-variable]
   38 | int exponent_x, exponent_y, cmp_res, exponent_res;
      |                                      ^~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_asinh.c:38:29: warning: unused variable 'cmp_res' [-Wunused-variable]
   38 | int exponent_x, exponent_y, cmp_res, exponent_res;
      |                             ^~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_asinh.c:38:17: warning: unused variable 'exponent_y' [-Wunused-variable]
   38 | int exponent_x, exponent_y, cmp_res, exponent_res;
      |                 ^~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_asinh.c:37:38: warning: unused variable 'sign_z' [-Wunused-variable]
   37 | BID_UINT64  valid_y, sign_x, sign_y, sign_z;
      |                                      ^~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_asinh.c:37:30: warning: unused variable 'sign_y' [-Wunused-variable]
   37 | BID_UINT64  valid_y, sign_x, sign_y, sign_z;
      |                              ^~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_asinh.c:37:13: warning: unused variable 'valid_y' [-Wunused-variable]
   37 | BID_UINT64  valid_y, sign_x, sign_y, sign_z;
      |             ^~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_asinh.c:36:39: warning: unused variable 'coeff_res' [-Wunused-variable]
   36 | BID_UINT128 CX, CY, xn, yn, res, tmp, coeff_res;
      |                                       ^~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_asinh.c:36:34: warning: unused variable 'tmp' [-Wunused-variable]
   36 | BID_UINT128 CX, CY, xn, yn, res, tmp, coeff_res;
      |                                  ^~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_asinh.c:36:25: warning: unused variable 'yn' [-Wunused-variable]
   36 | BID_UINT128 CX, CY, xn, yn, res, tmp, coeff_res;
      |                         ^~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_asinh.c:36:17: warning: unused variable 'CY' [-Wunused-variable]
   36 | BID_UINT128 CX, CY, xn, yn, res, tmp, coeff_res;
      |                 ^~
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lrintd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lrintd.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_flag_operations.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_flag_operations.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_scalb.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_scalb.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_erf.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_erf.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_mul.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_mul.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_compare.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_compare.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_expm1.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_expm1.c
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/59f4f0dd/mongo/db/transactions_stats_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lround.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lround.c
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_logb.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_logb.c
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sqrt.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sqrt.c
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/transactions_stats_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atan.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atan.c
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/59f4f0dd/mongo/db/transactions_stats_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_fetestexcept.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_fetestexcept.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_exception.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_exception.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_sinh.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_sinh.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_div.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_div.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_four_over_pi.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_four_over_pi.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_nearbyintd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_nearbyintd.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint16.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint16.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_modf.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_modf.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log1p.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log1p.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int64.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int64.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_ldexp.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_ldexp.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int16.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int16.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod128.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod128.c
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lround.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lround.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_scalb.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_scalb.c
In file included from /usr/include/ctype.h:97,
                 from src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_strtod.h:30,
                 from src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod128.c:30:
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_strtod.h: In function 'strtod_conversion':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_strtod.h:63:18: warning: array subscript has type 'char' [-Wchar-subscripts]
   63 |    while(isspace(*ps_in)) ps_in++;
      |                  ^
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint64.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint64.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lrintd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lrintd.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp10.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp10.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_minmax.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_minmax.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int16.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int16.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_frexp.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_frexp.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int64.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int64.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_exp.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_exp.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint32.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint32.c
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_exp.c: In function 'bid_f128_expm1':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_exp.c:262:68: warning: unused variable 'one' [-Wunused-variable]
  262 |     UX_FLOAT unpacked_argument, unpacked_result, reduced_argument, one;
      |                                                                    ^~~
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log10.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log10.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_ldexp.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_ldexp.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_quantexpd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_quantexpd.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_bid128.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_bid128.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_hypot.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_hypot.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_compare.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_compare.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_quantexpd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_quantexpd.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atan.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atan.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_exp2.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_exp2.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log1p.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log1p.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod32.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod32.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log2.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log2.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_string.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_string.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_llrintd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_llrintd.c
In file included from /usr/include/ctype.h:97,
                 from src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_strtod.h:30,
                 from src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod32.c:30:
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_strtod.h: In function 'strtod_conversion':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_strtod.h:63:18: warning: array subscript has type 'char' [-Wchar-subscripts]
   63 |    while(isspace(*ps_in)) ps_in++;
      |                  ^
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_binarydecimal.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_binarydecimal.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_logb.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_logb.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint64.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint64.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log2.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log2.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_scalbl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_scalbl.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_mod.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_mod.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_compare.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_compare.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_ldexp.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_ldexp.c
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_mod.c: In function '__dpml_bid_ux_mod__':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_mod.c:247:25: warning: unused variable 'tmp' [-Wunused-variable]
  247 |     UX_EXPONENT_TYPE J, tmp, exponent_y;
      |                         ^~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_mod.c: In function '__dpml_bid_C_ux_mod__':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_mod.c:635:20: warning: unused variable 'index' [-Wunused-variable]
  635 |     WORD fp_class, index;
      |                    ^~~~~
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint32.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint32.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_asin.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_asin.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_inv_trig.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_inv_trig.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tgamma.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tgamma.c
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_inv_trig.c: In function '__dpml_bid_ux_asin_acos__':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_inv_trig.c:589:22: warning: unused variable 'sign' [-Wunused-variable]
  589 |     UX_SIGN_TYPE     sign;
      |                      ^~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_inv_trig.c:587:39: warning: unused variable 'map' [-Wunused-variable]
  587 |     WORD             fp_class, index, map;
      |                                       ^~~
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_nexttowardd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_nexttowardd.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sqrt.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sqrt.c
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tgamma.c: In function '__bid128_tgamma':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tgamma.c:59:31: warning: unused variable 'yd' [-Wunused-variable]
   59 |   BID_F128_TYPE xd_hi, xd_lo, yd;
      |                               ^~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tgamma.c:59:24: warning: unused variable 'xd_lo' [-Wunused-variable]
   59 |   BID_F128_TYPE xd_hi, xd_lo, yd;
      |                        ^~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tgamma.c:59:17: warning: unused variable 'xd_hi' [-Wunused-variable]
   59 |   BID_F128_TYPE xd_hi, xd_lo, yd;
      |                 ^~~~~
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tan.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tan.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atan.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atan.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod64.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod64.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_dpd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_dpd.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_nexttowardd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_nexttowardd.c
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tan.c: In function '__bid128_tan':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tan.c:12498:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
12498 |   if (e < -35)
      |      ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tan.c:12431:7: warning: unused variable 'i' [-Wunused-variable]
12431 |   int i, s, e;
      |       ^
In file included from /usr/include/ctype.h:97,
                 from src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_strtod.h:30,
                 from src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod64.c:30:
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_strtod.h: In function 'strtod_conversion':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_strtod.h:63:18: warning: array subscript has type 'char' [-Wchar-subscripts]
   63 |    while(isspace(*ps_in)) ps_in++;
      |                  ^
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fmod.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fmod.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_logbd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_logbd.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fmod.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fmod.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_div.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_div.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_add.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_add.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_minmax.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_minmax.c
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_noncomp.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_noncomp.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_powi.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_powi.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_expm1.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_expm1.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod32.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod32.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_scalbl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_scalbl.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod128.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod128.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint16.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint16.c
In file included from /usr/include/ctype.h:97,
                 from src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_strtod.h:30,
                 from src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod32.c:30:
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_strtod.h: In function 'strtod_conversion':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_strtod.h:63:18: warning: array subscript has type 'char' [-Wchar-subscripts]
   63 |    while(isspace(*ps_in)) ps_in++;
      |                  ^
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_int.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_int.c
In file included from /usr/include/ctype.h:97,
                 from src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_strtod.h:30,
                 from src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod128.c:30:
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_strtod.h: In function 'strtod_conversion':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_strtod.h:63:18: warning: array subscript has type 'char' [-Wchar-subscripts]
   63 |    while(isspace(*ps_in)) ps_in++;
      |                  ^
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_round_integral.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_round_integral.c
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_int.c: In function '__dpml_bid_ux_rnd_to_int__':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_int.c:104:32: warning: unused variable 'int_exponent' [-Wunused-variable]
  104 |     UX_EXPONENT_TYPE exponent, int_exponent;
      |                                ^~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_int.c:103:10: warning: unused variable 'index' [-Wunused-variable]
  103 |     WORD index, num_digits, shift, LR, SKLR;
      |          ^~~~~
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_inv_hyper.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_inv_hyper.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint8.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint8.c
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_inv_hyper.c: In function 'bid_f128_acosh':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_inv_hyper.c:167:19: warning: unused variable 'sign' [-Wunused-variable]
  167 |     UX_SIGN_TYPE  sign;
      |                   ^~~~
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_acosh.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_acosh.c
In file included from src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_private.h:43,
                 from src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux.h:39,
                 from src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_inv_hyper.c:31:
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_inv_hyper.c: In function 'bid_f128_atanh':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/build.h:112:38: warning: 'underflow_error' may be used uninitialized in this function [-Wmaybe-uninitialized]
  112 |         #   define INTERNAL_PREFIX   __dpml_bid_
      |                                      ^~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_inv_hyper.c:242:20: note: 'underflow_error' was declared here
  242 |     WORD fp_class, underflow_error;
      |                    ^~~~~~~~~~~~~~~
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_pow.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_pow.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_lgamma.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_lgamma.c
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_acosh.c: In function '__bid128_acosh':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_acosh.c:39:38: warning: unused variable 'exponent_res' [-Wunused-variable]
   39 | int exponent_x, exponent_y, cmp_res, exponent_res;
      |                                      ^~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_acosh.c:39:17: warning: unused variable 'exponent_y' [-Wunused-variable]
   39 | int exponent_x, exponent_y, cmp_res, exponent_res;
      |                 ^~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_acosh.c:38:38: warning: unused variable 'sign_z' [-Wunused-variable]
   38 | BID_UINT64  valid_y, sign_x, sign_y, sign_z;
      |                                      ^~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_acosh.c:38:30: warning: unused variable 'sign_y' [-Wunused-variable]
   38 | BID_UINT64  valid_y, sign_x, sign_y, sign_z;
      |                              ^~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_acosh.c:38:13: warning: unused variable 'valid_y' [-Wunused-variable]
   38 | BID_UINT64  valid_y, sign_x, sign_y, sign_z;
      |             ^~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_acosh.c:37:39: warning: unused variable 'coeff_res' [-Wunused-variable]
   37 | BID_UINT128 CX, CY, xn, yn, res, tmp, coeff_res, one, z, z2, near_one;
      |                                       ^~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_acosh.c:37:34: warning: unused variable 'tmp' [-Wunused-variable]
   37 | BID_UINT128 CX, CY, xn, yn, res, tmp, coeff_res, one, z, z2, near_one;
      |                                  ^~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_acosh.c:37:25: warning: unused variable 'yn' [-Wunused-variable]
   37 | BID_UINT128 CX, CY, xn, yn, res, tmp, coeff_res, one, z, z2, near_one;
      |                         ^~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_acosh.c:37:17: warning: unused variable 'CY' [-Wunused-variable]
   37 | BID_UINT128 CX, CY, xn, yn, res, tmp, coeff_res, one, z, z2, near_one;
      |                 ^~
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_fesetexceptflag.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_fesetexceptflag.c
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_lgamma.c: In function '__dpml_bid_ux_lgamma__':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_lgamma.c:299:9: warning: "/*" within comment [-Wcomment]
  299 |         /* Set initial product to 1 and get  */
      |          
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cbrt.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cbrt.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint64.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint64.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cosh.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cosh.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log10.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log10.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops_64.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops_64.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_feraiseexcept.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_feraiseexcept.c
gcc -o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_decimal_globals.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -w -DNDEBUG -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 -Defi2=1 -DEFI2=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_decimal_globals.c
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops_64.c: In function '__dpml_bid_divide__':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops_64.c:335:22: warning: operand of '?:' changes signedness from 'long long int' to 'UX_FRACTION_DIGIT_TYPE' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare]
  335 |     R = ( R == 0 ) ? ( (UX_SIGNED_FRACTION_DIGIT_TYPE) -1 ) : R;
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops_64.c: In function '__dpml_bid_evaluate_rational__':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops_64.c:867:36: warning: unused variable 'poly_shift' [-Wunused-variable]
  867 |     WORD sign, shift, byte_length, poly_shift;
      |                                    ^~~~~~~~~~
c++ -o build/59f4f0dd/mongo/db/concurrency/lock_state.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/concurrency/lock_state.cpp
c++ -o build/59f4f0dd/mongo/db/s/shardsvr_shard_collection.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/shardsvr_shard_collection.cpp
gcc -o build/59f4f0dd/third_party/wiredtiger/src/btree/col_modify.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/btree/col_modify.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/os_posix/os_mtx_cond.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/os_posix/os_mtx_cond.c
c++ -o build/59f4f0dd/mongo/db/catalog/index_timestamp_helper.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/index_timestamp_helper.cpp
c++ -o build/59f4f0dd/mongo/s/catalog/type_database.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/catalog/type_database.cpp
Using tempfile /tmp/tmpqpmfohut.lnk for command line:
ar rcsTD build/59f4f0dd/third_party/IntelRDFPMathLib20U1/libintel_decimal128.a build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_exception.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_four_over_pi.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bessel.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bid.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_cbrt.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_erf.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_exp.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_int.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_inv_hyper.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_inv_trig.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_lgamma.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_log.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_mod.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops_64.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_pow.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_powi.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_sqrt.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_trig.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/sqrt_tab_t.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_2_str_tables.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_acos.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_acosh.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_add.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_asin.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_asinh.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atan.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atan2.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atanh.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cbrt.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_compare.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cos.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cosh.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_div.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_erf.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_erfc.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp10.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp2.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_expm1.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fdimd.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fma.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fmod.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_frexp.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_hypot.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_ldexp.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lgamma.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_llrintd.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log10.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log1p.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log2.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_logb.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_logbd.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lrintd.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lround.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_minmax.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_modf.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_mul.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_nearbyintd.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_next.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_nexttowardd.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_noncomp.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_quantexpd.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_quantize.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_rem.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_round_integral.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_scalb.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_scalbl.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sin.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sinh.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sqrt.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_string.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tan.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tanh.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tgamma.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int16.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int32.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int64.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int8.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint16.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint32.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint64.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint8.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_acos.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_acosh.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_add.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_asin.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_asinh.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atan.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atan2.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atanh.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cbrt.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_compare.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cos.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cosh.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_div.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_erf.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_erfc.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp10.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp2.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_expm1.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fdimd.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fma.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fmod.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_frexp.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_hypot.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_ldexp.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lgamma.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_llrintd.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log10.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log1p.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log2.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_logb.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_logbd.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lrintd.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lround.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_minmax.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_modf.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_mul.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_nearbyintd.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_next.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_nexttowardd.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_noncomp.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_pow.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_quantexpd.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_quantize.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_rem.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_round_integral.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_scalb.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_scalbl.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sin.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sinh.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sqrt.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_string.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sub.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_tan.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_tanh.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_tgamma.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_bid128.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_bid64.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int16.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int32.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int64.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int8.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint16.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint32.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint64.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint8.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_acos.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_acosh.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_add.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_asin.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_asinh.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atan.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atan2.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atanh.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cbrt.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_compare.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cos.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cosh.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_div.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_erf.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_erfc.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_exp.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_exp10.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_exp2.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_expm1.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_fdimd.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_fma.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_fmod.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_frexp.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_hypot.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_ldexp.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lgamma.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_llrintd.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log10.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log1p.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log2.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_logb.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_logbd.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lrintd.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lround.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_minmax.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_modf.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_mul.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_nearbyintd.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_next.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_nexttowardd.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_noncomp.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_pow.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_quantexpd.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_quantize.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_rem.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_round_integral.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_scalb.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_scalbl.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_sin.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_sinh.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_sqrt.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_string.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_tan.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_tanh.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_tgamma.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_bid128.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int16.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int32.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int64.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int8.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint16.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint32.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint64.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint8.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_binarydecimal.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_convert_data.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_decimal_data.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_decimal_globals.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_dpd.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_feclearexcept.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_fegetexceptflag.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_feraiseexcept.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_fesetexceptflag.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_fetestexcept.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_flag_operations.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_from_int.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_round.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod128.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod32.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod64.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod128.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod32.o build/59f4f0dd/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod64.o
ar @/tmp/tmpqpmfohut.lnk
c++ -o build/59f4f0dd/mongo/transport/message_compressor_manager.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/transport/message_compressor_manager.cpp
c++ -o build/59f4f0dd/mongo/rpc/topology_version_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/rpc/topology_version_gen.cpp
Skipping ranlib for thin archive build/59f4f0dd/third_party/IntelRDFPMathLib20U1/libintel_decimal128.a
c++ -o build/59f4f0dd/mongo/s/sessions_collection_sharded.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/sessions_collection_sharded.cpp
c++ -o build/59f4f0dd/mongo/db/commands/fsync.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/fsync.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<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/exec/count_scan.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/count_scan.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/59f4f0dd/mongo/rpc/topology_version_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/catalog/index_timestamp_helper.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/shardsvr_shard_collection.cpp:39:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/catalog/index_timestamp_helper.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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/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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_raii.h:33,
                 from src/mongo/db/s/shardsvr_shard_collection.cpp:39:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/rpc/topology_version_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/fsync.cpp:47:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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: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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/catalog/index_timestamp_helper.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/rpc/topology_version_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/rpc/topology_version_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/s/query/cluster_cursor_cleanup_job.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/query/cluster_cursor_cleanup_job.cpp
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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/catalog/index_timestamp_helper.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/sessions_collection_sharded.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/fsync.cpp:47:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
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/s/shardsvr_shard_collection.cpp:39:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
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/s/shardsvr_shard_collection.cpp:39:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/fsync.cpp:47:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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/sessions_collection_sharded.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/fsync.cpp:47:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::Locker::LockerInfo> mongo::LockerImpl::getLockerInfo(boost::optional<mongo::LockStats<long int> >) const':
src/mongo/db/concurrency/lock_state.cpp:746:21: warning: redundant move in return statement [-Wredundant-move]
  746 |     return std::move(lockerInfo);
      |            ~~~~~~~~~^~~~~~~~~~~~
src/mongo/db/concurrency/lock_state.cpp:746:21: 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/sessions_collection_sharded.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/sessions_collection_sharded.cpp:36:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/requires_index_stage.h:32,
                 from src/mongo/db/exec/count_scan.h:32,
                 from src/mongo/db/exec/count_scan.cpp:30:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/requires_index_stage.h:32,
                 from src/mongo/db/exec/count_scan.h:32,
                 from src/mongo/db/exec/count_scan.cpp:30:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/requires_index_stage.h:32,
                 from src/mongo/db/exec/count_scan.h:32,
                 from src/mongo/db/exec/count_scan.cpp:30:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/requires_index_stage.h:32,
                 from src/mongo/db/exec/count_scan.h:32,
                 from src/mongo/db/exec/count_scan.cpp:30:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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:37,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/s/query/cluster_client_cursor_params.h:43,
                 from src/mongo/s/query/cluster_client_cursor.h:38,
                 from src/mongo/s/query/cluster_cursor_manager.h:43,
                 from src/mongo/s/query/cluster_cursor_cleanup_job.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/s/query/cluster_client_cursor_params.h:43,
                 from src/mongo/s/query/cluster_client_cursor.h:38,
                 from src/mongo/s/query/cluster_cursor_manager.h:43,
                 from src/mongo/s/query/cluster_cursor_cleanup_job.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/pipeline/pipeline.h:40,
                 from src/mongo/s/query/cluster_client_cursor_params.h:43,
                 from src/mongo/s/query/cluster_client_cursor.h:38,
                 from src/mongo/s/query/cluster_cursor_manager.h:43,
                 from src/mongo/s/query/cluster_cursor_cleanup_job.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/repl/oplog_interface_local.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/oplog_interface_local.cpp
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/pipeline/pipeline.h:40,
                 from src/mongo/s/query/cluster_client_cursor_params.h:43,
                 from src/mongo/s/query/cluster_client_cursor.h:38,
                 from src/mongo/s/query/cluster_cursor_manager.h:43,
                 from src/mongo/s/query/cluster_cursor_cleanup_job.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/index_build_entry_helpers.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/index_build_entry_helpers.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/s/libsessions_collection_sharded.a build/59f4f0dd/mongo/s/sessions_collection_sharded.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/libsessions_collection_sharded.a
c++ -o build/59f4f0dd/mongo/db/logical_session_cache_stats_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/logical_session_cache_stats_gen.cpp
ar rcsTD build/59f4f0dd/mongo/s/query/libcluster_aggregate.a build/59f4f0dd/mongo/s/query/cluster_aggregate.o build/59f4f0dd/mongo/s/query/cluster_aggregation_planner.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/query/libcluster_aggregate.a
gcc -o build/59f4f0dd/third_party/wiredtiger/src/meta/meta_apply.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/meta/meta_apply.c
ar rcsTD build/59f4f0dd/mongo/db/concurrency/liblock_manager.a build/59f4f0dd/mongo/db/concurrency/d_concurrency.o build/59f4f0dd/mongo/db/concurrency/lock_manager.o build/59f4f0dd/mongo/db/concurrency/lock_state.o build/59f4f0dd/mongo/db/concurrency/lock_stats.o build/59f4f0dd/mongo/db/concurrency/replication_state_transition_lock_guard.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/concurrency/liblock_manager.a
gcc -o build/59f4f0dd/third_party/wiredtiger/src/os_posix/os_setvbuf.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/os_posix/os_setvbuf.c
In file included from src/mongo/db/matcher/expression_parser.h:39,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/s/query/cluster_client_cursor_params.h:43,
                 from src/mongo/s/query/cluster_client_cursor.h:38,
                 from src/mongo/s/query/cluster_cursor_manager.h:43,
                 from src/mongo/s/query/cluster_cursor_cleanup_job.cpp:37:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/storage/oplog_cap_maintainer_thread.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/oplog_cap_maintainer_thread.cpp
c++ -o build/59f4f0dd/mongo/client/query.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/query.cpp
gcc -o build/59f4f0dd/third_party/wiredtiger/src/conn/conn_tiered.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/conn/conn_tiered.c
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/repl/oplog_interface_local.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/libindex_names.a build/59f4f0dd/mongo/db/index_names.o
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libindex_names.a
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/s/move_primary_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/move_primary_command.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_raii.h:33,
                 from src/mongo/db/db_raii.h:34,
                 from src/mongo/db/repl/oplog_interface_local.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/pipeline/document_path_support.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_path_support.cpp
c++ -o build/59f4f0dd/mongo/db/pipeline/resume_token.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/resume_token.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/database.h:38,
                 from src/mongo/db/index_build_entry_helpers.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_raii.h:33,
                 from src/mongo/db/db_raii.h:34,
                 from src/mongo/db/repl/oplog_interface_local.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/catalog/database.h:38,
                 from src/mongo/db/index_build_entry_helpers.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/repl/oplog_interface_local.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/index_build_entry_helpers.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/index_build_entry_helpers.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/db/logical_session_cache_stats_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/logical_session_cache_stats_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/logical_session_cache_stats_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/logical_session_cache_stats_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/pipeline/document_path_support.h:38,
                 from src/mongo/db/pipeline/document_path_support.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/storage/oplog_cap_maintainer_thread.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_raii.h:33,
                 from src/mongo/db/storage/oplog_cap_maintainer_thread.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/s/move_primary_command.cpp:35:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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_raii.h:33,
                 from src/mongo/db/storage/oplog_cap_maintainer_thread.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/util/net/ssl_parameters_auth_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/util/net/ssl_parameters_auth_gen.cpp
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/storage/oplog_cap_maintainer_thread.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/client/libclient_query.a build/59f4f0dd/mongo/client/query.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/client/libclient_query.a
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/once_block.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/log/src/once_block.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/s/move_primary_command.cpp:35:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/pipeline/pipeline_d.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/pipeline_d.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/move_primary_command.cpp:35:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/move_primary_command.cpp:35:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/s/request_types/balancer_collection_status_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/s/request_types/balancer_collection_status_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/util/net/ssl_parameters_auth_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/auth/user_document_parser.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/user_document_parser.cpp
In file included from src/mongo/db/pipeline/pipeline_d.h:37,
                 from src/mongo/db/pipeline/pipeline_d.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/util/net/ssl_parameters_auth_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/repl/liboplog_interface_local.a build/59f4f0dd/mongo/db/repl/oplog_interface_local.o
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/liboplog_interface_local.a
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/commands/set_index_commit_quorum_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/set_index_commit_quorum_command.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/util/net/ssl_parameters_auth_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/util/net/ssl_parameters_auth_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Generating build/59f4f0dd/mongo/db/commands/resize_oplog_gen.cpp
c++ -o build/59f4f0dd/mongo/db/commands/resize_oplog_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/commands/resize_oplog_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 build/59f4f0dd/mongo/s/request_types/balancer_collection_status_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/pipeline/document_source_cursor.h:34,
                 from src/mongo/db/pipeline/pipeline_d.h:39,
                 from src/mongo/db/pipeline/pipeline_d.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/commands/haystack.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/haystack.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 build/59f4f0dd/mongo/s/request_types/balancer_collection_status_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/s/request_types/balancer_collection_status_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/s/request_types/balancer_collection_status_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_raii.h:33,
                 from src/mongo/db/db_raii.h:34,
                 from src/mongo/db/pipeline/document_source_cursor.h:34,
                 from src/mongo/db/pipeline/pipeline_d.h:39,
                 from src/mongo/db/pipeline/pipeline_d.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/pipeline/document_source_cursor.h:34,
                 from src/mongo/db/pipeline/pipeline_d.h:39,
                 from src/mongo/db/pipeline/pipeline_d.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/commands/driverHelpers.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/driverHelpers.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/set_index_commit_quorum_command.cpp:36:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/set_index_commit_quorum_command.cpp:36:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/59f4f0dd/mongo/db/commands/resize_oplog_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/set_index_commit_quorum_command.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/util/net/libssl_parameters_auth.a build/59f4f0dd/mongo/util/net/ssl_parameters_auth.o build/59f4f0dd/mongo/util/net/ssl_parameters_auth_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/net/libssl_parameters_auth.a
c++ -o build/59f4f0dd/mongo/db/commands/txn_cmds.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/txn_cmds.cpp
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/set_index_commit_quorum_command.cpp:36:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from build/59f4f0dd/mongo/db/commands/resize_oplog_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/commands/resize_oplog_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/commands/resize_oplog_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/commands/resize_oplog.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/resize_oplog.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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/commands/map_reduce_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/map_reduce_command.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/commands/driverHelpers.cpp:44:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/driverHelpers.cpp:44:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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::MatchExpression> 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::MatchExpression> 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: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/driverHelpers.cpp:44:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
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::MatchExpression> 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::MatchExpression> 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/commands/driverHelpers.cpp:44:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 src/mongo/db/commands/txn_cmds.cpp:36:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/commands/sharded_index_consistency_server_status.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/sharded_index_consistency_server_status.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/commands/txn_cmds.cpp:36:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/commands/set_feature_compatibility_version_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/set_feature_compatibility_version_command.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/txn_cmds.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/map_reduce_command.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/commands/txn_cmds.cpp:36:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/commands/resize_oplog.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/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/map_reduce_command.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/resize_oplog.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/map_reduce_command.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/map_reduce_command.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/commands/resize_oplog.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/resize_oplog.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Generating build/59f4f0dd/mongo/db/commands/vote_commit_index_build_gen.cpp
c++ -o build/59f4f0dd/mongo/db/commands/vote_commit_index_build_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/commands/vote_commit_index_build_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/commands/server_status.h:32,
                 from src/mongo/db/commands/sharded_index_consistency_server_status.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/commands/server_status.h:32,
                 from src/mongo/db/commands/sharded_index_consistency_server_status.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/commands/apply_ops_cmd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/apply_ops_cmd.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/commands/sharded_index_consistency_server_status.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/server_status.h:32,
                 from src/mongo/db/commands/sharded_index_consistency_server_status.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/collection_catalog_helper.h:32,
                 from src/mongo/db/commands/set_feature_compatibility_version_command.cpp:36:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/collection_catalog_helper.h:32,
                 from src/mongo/db/commands/set_feature_compatibility_version_command.cpp:36:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/commands/dbcheck.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/dbcheck.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/collection_catalog_helper.h:32,
                 from src/mongo/db/commands/set_feature_compatibility_version_command.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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/59f4f0dd/mongo/db/commands/vote_commit_index_build_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/collection_catalog_helper.h:32,
                 from src/mongo/db/commands/set_feature_compatibility_version_command.cpp:36:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 build/59f4f0dd/mongo/db/commands/vote_commit_index_build_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/commands/vote_commit_index_build_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/commands/vote_commit_index_build_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 src/mongo/bson/util/bson_check.h:34,
                 from src/mongo/db/commands/apply_ops_cmd.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/commands/oplog_note.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/oplog_note.cpp
c++ -o build/59f4f0dd/mongo/db/commands/compact.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/compact.cpp
c++ -o build/59f4f0dd/mongo/db/commands/internal_rename_if_options_and_indexes_match_cmd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/internal_rename_if_options_and_indexes_match_cmd.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/bson/util/bson_check.h:34,
                 from src/mongo/db/commands/apply_ops_cmd.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/bson/util/bson_check.h:34,
                 from src/mongo/db/commands/apply_ops_cmd.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/bson/util/bson_check.h:34,
                 from src/mongo/db/commands/apply_ops_cmd.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/commands/rwc_defaults_commands.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/rwc_defaults_commands.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/commands/dbcheck.cpp:35:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/commands/dbcheck.cpp:35:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/commands/dbcheck.cpp:35:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/dbcheck.cpp:35:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/commands/mr.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/mr.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/oplog_note.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/commands/compact.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/compact.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/oplog_note.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/compact.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
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/compact.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595: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/commands/internal_rename_if_options_and_indexes_match_cmd.cpp:36:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/oplog_note.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/oplog_note.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/commands/rwc_defaults_commands.cpp:35:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/internal_rename_if_options_and_indexes_match_cmd.cpp:36:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/rwc_defaults_commands.cpp:35:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
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/internal_rename_if_options_and_indexes_match_cmd.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/internal_rename_if_options_and_indexes_match_cmd.cpp:36:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/rwc_defaults_commands.cpp:35:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/rwc_defaults_commands.cpp:35:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/commands/vote_commit_index_build_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/vote_commit_index_build_command.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 src/mongo/db/commands/mr_common.h:35,
                 from src/mongo/db/commands/mr.h:36,
                 from src/mongo/db/commands/mr.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/commands/user_management_commands.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/user_management_commands.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/commands/mr_common.h:35,
                 from src/mongo/db/commands/mr.h:36,
                 from src/mongo/db/commands/mr.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/mr_common.h:35,
                 from src/mongo/db/commands/mr.h:36,
                 from src/mongo/db/commands/mr.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/mr_common.h:35,
                 from src/mongo/db/commands/mr.h:36,
                 from src/mongo/db/commands/mr.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/ops/write_ops_exec.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/ops/write_ops_exec.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/query/find.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/find.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 src/mongo/db/commands/vote_commit_index_build_command.cpp:35:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/query/plan_ranker.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/plan_ranker.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/user_management_commands.cpp:59:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_cursor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from src/mongo/db/commands/vote_commit_index_build_command.cpp:35:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/vote_commit_index_build_command.cpp:35:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/vote_commit_index_build_command.cpp:35:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from src/mongo/db/commands/user_management_commands.cpp:59:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/user_management_commands.cpp:59:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/user_management_commands.cpp:59:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/exec/index_scan.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/index_scan.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/query/find.h:34,
                 from src/mongo/db/query/find.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/user_management_commands.cpp: In function 'mongo::StatusWith<mongo::{anonymous}::AuthzLockGuard> mongo::{anonymous}::requireWritableAuthSchema28SCRAM(mongo::OperationContext*, mongo::AuthorizationManager*)':
src/mongo/db/commands/user_management_commands.cpp:626:21: warning: redundant move in return statement [-Wredundant-move]
  626 |     return std::move(lk);
      |            ~~~~~~~~~^~~~
src/mongo/db/commands/user_management_commands.cpp:626:21: note: remove 'std::move' call
src/mongo/db/commands/user_management_commands.cpp: In function 'mongo::StatusWith<mongo::{anonymous}::AuthzLockGuard> mongo::{anonymous}::requireReadableAuthSchema26Upgrade(mongo::OperationContext*, mongo::AuthorizationManager*)':
src/mongo/db/commands/user_management_commands.cpp:658:21: warning: redundant move in return statement [-Wredundant-move]
  658 |     return std::move(lk);
      |            ~~~~~~~~~^~~~
src/mongo/db/commands/user_management_commands.cpp:658:21: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/find.h:34,
                 from src/mongo/db/query/find.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/ops/write_ops_exec.cpp:39:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/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<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/ops/write_ops_exec.cpp:39:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/pipeline/document_source_cursor.h:34,
                 from src/mongo/db/pipeline/document_source_cursor.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/find.h:34,
                 from src/mongo/db/query/find.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/clientcursor.h:40,
                 from src/mongo/db/query/find.h:34,
                 from src/mongo/db/query/find.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_raii.h:33,
                 from src/mongo/db/db_raii.h:34,
                 from src/mongo/db/pipeline/document_source_cursor.h:34,
                 from src/mongo/db/pipeline/document_source_cursor.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/ops/write_ops_exec.cpp:39:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/ops/write_ops_exec.cpp:39:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_raii.h:33,
                 from src/mongo/db/db_raii.h:34,
                 from src/mongo/db/pipeline/document_source_cursor.h:34,
                 from src/mongo/db/pipeline/document_source_cursor.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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: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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
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/pipeline/document_source_cursor.h:34,
                 from src/mongo/db/pipeline/document_source_cursor.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/requires_index_stage.h:32,
                 from src/mongo/db/exec/index_scan.h:32,
                 from src/mongo/db/exec/index_scan.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/requires_index_stage.h:32,
                 from src/mongo/db/exec/index_scan.h:32,
                 from src/mongo/db/exec/index_scan.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/requires_index_stage.h:32,
                 from src/mongo/db/exec/index_scan.h:32,
                 from src/mongo/db/exec/index_scan.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/requires_index_stage.h:32,
                 from src/mongo/db/exec/index_scan.h:32,
                 from src/mongo/db/exec/index_scan.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/exec/skip.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/skip.cpp
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/user_management_commands.cpp:59:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/exec/skip.h:33,
                 from src/mongo/db/exec/skip.cpp:30:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/exec/and_sorted.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/and_sorted.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/query/internal_plans.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/internal_plans.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/commands/libmongod.a build/59f4f0dd/mongo/db/commands/apply_ops_cmd.o build/59f4f0dd/mongo/db/commands/collection_to_capped.o build/59f4f0dd/mongo/db/commands/compact.o build/59f4f0dd/mongo/db/commands/cpuload.o build/59f4f0dd/mongo/db/commands/dbcheck.o build/59f4f0dd/mongo/db/commands/dbcommands_d.o build/59f4f0dd/mongo/db/commands/dbhash.o build/59f4f0dd/mongo/db/commands/driverHelpers.o build/59f4f0dd/mongo/db/commands/haystack.o build/59f4f0dd/mongo/db/commands/internal_rename_if_options_and_indexes_match_cmd.o build/59f4f0dd/mongo/db/commands/map_reduce_command.o build/59f4f0dd/mongo/db/commands/map_reduce_finish_command.o build/59f4f0dd/mongo/db/commands/mr.o build/59f4f0dd/mongo/db/commands/oplog_application_checks.o build/59f4f0dd/mongo/db/commands/oplog_note.o build/59f4f0dd/mongo/db/commands/read_write_concern_defaults_server_status.o build/59f4f0dd/mongo/db/commands/resize_oplog.o build/59f4f0dd/mongo/db/commands/resize_oplog_gen.o build/59f4f0dd/mongo/db/commands/rwc_defaults_commands.o build/59f4f0dd/mongo/db/commands/set_feature_compatibility_version_command.o build/59f4f0dd/mongo/db/commands/set_index_commit_quorum_command.o build/59f4f0dd/mongo/db/commands/sharded_index_consistency_server_status.o build/59f4f0dd/mongo/db/commands/shutdown_d.o build/59f4f0dd/mongo/db/commands/snapshot_management.o build/59f4f0dd/mongo/db/commands/top_command.o build/59f4f0dd/mongo/db/commands/txn_cmds.o build/59f4f0dd/mongo/db/commands/user_management_commands.o build/59f4f0dd/mongo/db/commands/vote_commit_index_build_command.o build/59f4f0dd/mongo/db/commands/internal_rename_if_options_and_indexes_match_gen.o build/59f4f0dd/mongo/db/commands/vote_commit_index_build_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/commands/libmongod.a
c++ -o build/59f4f0dd/mongo/db/exec/record_store_fast_count.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/record_store_fast_count.cpp
c++ -o build/59f4f0dd/mongo/db/exec/return_key.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/return_key.cpp
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_geo_near_cursor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_geo_near_cursor.cpp
c++ -o build/59f4f0dd/mongo/db/ops/parsed_delete.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/ops/parsed_delete.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/exec/and_sorted.h:35,
                 from src/mongo/db/exec/and_sorted.cpp:30:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/delete.h:32,
                 from src/mongo/db/query/internal_plans.h:33,
                 from src/mongo/db/query/internal_plans.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/clientcursor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/clientcursor.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/delete.h:32,
                 from src/mongo/db/query/internal_plans.h:33,
                 from src/mongo/db/query/internal_plans.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/delete.h:32,
                 from src/mongo/db/query/internal_plans.h:33,
                 from src/mongo/db/query/internal_plans.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/delete.h:32,
                 from src/mongo/db/query/internal_plans.h:33,
                 from src/mongo/db/query/internal_plans.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/exec/return_key.h:32,
                 from src/mongo/db/exec/return_key.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/record_store_fast_count.h:32,
                 from src/mongo/db/exec/record_store_fast_count.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/record_store_fast_count.h:32,
                 from src/mongo/db/exec/record_store_fast_count.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/exec/and_hash.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/and_hash.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/pipeline/document_source_geo_near_cursor.h:39,
                 from src/mongo/db/pipeline/document_source_geo_near_cursor.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616: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/ops/parsed_delete.h:33,
                 from src/mongo/db/ops/parsed_delete.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
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/record_store_fast_count.h:32,
                 from src/mongo/db/exec/record_store_fast_count.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/catalog/collection.h:48,
                 from src/mongo/db/pipeline/document_source_geo_near_cursor.h:39,
                 from src/mongo/db/pipeline/document_source_geo_near_cursor.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574: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/record_store_fast_count.h:32,
                 from src/mongo/db/exec/record_store_fast_count.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/ops/parsed_delete.h:33,
                 from src/mongo/db/ops/parsed_delete.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/ops/libwrite_ops_exec.a build/59f4f0dd/mongo/db/ops/write_ops_exec.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/ops/libwrite_ops_exec.a
c++ -o build/59f4f0dd/mongo/db/query/get_executor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/get_executor.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/ops/parsed_delete.h:33,
                 from src/mongo/db/ops/parsed_delete.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/ops/parsed_delete.h:33,
                 from src/mongo/db/ops/parsed_delete.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/pipeline/document_source_geo_near_cursor.h:39,
                 from src/mongo/db/pipeline/document_source_geo_near_cursor.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/pipeline/document_source_geo_near_cursor.h:39,
                 from src/mongo/db/pipeline/document_source_geo_near_cursor.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/exec/requires_index_stage.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/requires_index_stage.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/clientcursor.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/exec/and_hash.h:34,
                 from src/mongo/db/exec/and_hash.cpp:30:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/ops/delete_request.h:37,
                 from src/mongo/db/query/get_executor.h:33,
                 from src/mongo/db/query/get_executor.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/ops/delete_request.h:37,
                 from src/mongo/db/query/get_executor.h:33,
                 from src/mongo/db/query/get_executor.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/ops/delete_request.h:37,
                 from src/mongo/db/query/get_executor.h:33,
                 from src/mongo/db/query/get_executor.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/ops/delete_request.h:37,
                 from src/mongo/db/query/get_executor.h:33,
                 from src/mongo/db/query/get_executor.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/requires_index_stage.h:32,
                 from src/mongo/db/exec/requires_index_stage.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/run_op_kill_cursors.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/run_op_kill_cursors.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/requires_index_stage.h:32,
                 from src/mongo/db/exec/requires_index_stage.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/exec/text.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/text.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/requires_index_stage.h:32,
                 from src/mongo/db/exec/requires_index_stage.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/requires_index_stage.h:32,
                 from src/mongo/db/exec/requires_index_stage.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/exec/near.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/near.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/exec/shard_filter.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/shard_filter.cpp
In file included from src/mongo/db/query/planner_ixselect.h:32,
                 from src/mongo/db/query/get_executor.cpp:75:
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchObjectMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:85:25: warning: redundant move in return statement [-Wredundant-move]
   85 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:85:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchValueMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:140:25: warning: redundant move in return statement [-Wredundant-move]
  140 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:140:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::SizeMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:177:25: warning: redundant move in return statement [-Wredundant-move]
  177 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:177:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/exec/count.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/count.cpp
c++ -o build/59f4f0dd/mongo/db/query/plan_yield_policy.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/plan_yield_policy.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/exec/text.h:34,
                 from src/mongo/db/exec/text.cpp:30:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/fetch.h:34,
                 from src/mongo/db/exec/text.cpp:35:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/fetch.h:34,
                 from src/mongo/db/exec/text.cpp:35:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_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/run_op_kill_cursors.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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/fetch.h:34,
                 from src/mongo/db/exec/text.cpp:35:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/run_op_kill_cursors.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/exec/near.h:38,
                 from src/mongo/db/exec/near.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/near.h:38,
                 from src/mongo/db/exec/near.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/shard_filter.h:32,
                 from src/mongo/db/exec/shard_filter.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/cursor_manager.h:35,
                 from src/mongo/db/run_op_kill_cursors.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/run_op_kill_cursors.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/exec/near.h:38,
                 from src/mongo/db/exec/near.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/exec/near.h:38,
                 from src/mongo/db/exec/near.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/exec/collection_scan.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/collection_scan.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/exec/count.h:32,
                 from src/mongo/db/exec/count.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/ops/delete_request.h:37,
                 from src/mongo/db/query/get_executor.h:33,
                 from src/mongo/db/query/get_executor.cpp:34:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/count.cpp:36:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/exec/count.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/exec/count.cpp:36:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/query/plan_yield_policy.h:34,
                 from src/mongo/db/query/plan_yield_policy.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/query/plan_yield_policy.h:34,
                 from src/mongo/db/query/plan_yield_policy.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/query/plan_yield_policy.h:34,
                 from src/mongo/db/query/plan_yield_policy.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/query/plan_yield_policy.h:34,
                 from src/mongo/db/query/plan_yield_policy.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/exec/multi_plan.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/multi_plan.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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/collection_scan.h:35,
                 from src/mongo/db/exec/collection_scan.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/collection_scan.h:35,
                 from src/mongo/db/exec/collection_scan.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/collection_scan.h:35,
                 from src/mongo/db/exec/collection_scan.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/collection_scan.h:35,
                 from src/mongo/db/exec/collection_scan.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/exec/projection.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/projection.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/ops/update_result.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/ops/update_result.cpp
c++ -o build/59f4f0dd/mongo/db/exec/write_stage_common.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/write_stage_common.cpp
c++ -o build/59f4f0dd/mongo/db/exec/pipeline_proxy.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/pipeline_proxy.cpp
c++ -o build/59f4f0dd/mongo/db/exec/ensure_sorted.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/ensure_sorted.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/exec/multi_plan.h:33,
                 from src/mongo/db/exec/multi_plan.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/multi_plan.h:33,
                 from src/mongo/db/exec/multi_plan.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/exec/multi_plan.h:33,
                 from src/mongo/db/exec/multi_plan.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/exec/multi_plan.h:33,
                 from src/mongo/db/exec/multi_plan.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/query/explain.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/explain.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/exec/write_stage_common.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/exec/eof.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/eof.cpp
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/write_stage_common.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/exec/write_stage_common.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/exec/write_stage_common.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/exec/pipeline_proxy.h:35,
                 from src/mongo/db/exec/pipeline_proxy.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/exec/working_set_common.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/working_set_common.cpp
In file included from src/mongo/db/matcher/expression_parser.h:37,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/exec/pipeline_proxy.h:37,
                 from src/mongo/db/exec/pipeline_proxy.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/exec/pipeline_proxy.h:37,
                 from src/mongo/db/exec/pipeline_proxy.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/pipeline/pipeline.h:40,
                 from src/mongo/db/exec/pipeline_proxy.h:37,
                 from src/mongo/db/exec/pipeline_proxy.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/query/explain.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/s/catalog/dist_lock_catalog.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/catalog/dist_lock_catalog.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/query/explain.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/eof.h:32,
                 from src/mongo/db/exec/eof.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/query/explain.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/query/explain.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/exec/working_set_common.cpp:39:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/working_set_common.cpp:39:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
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/working_set_common.cpp:39:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/exec/working_set_common.cpp:39:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/repl/oplog.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/oplog.cpp
Generating build/59f4f0dd/mongo/s/request_types/get_database_version_gen.cpp
c++ -o build/59f4f0dd/mongo/db/query/query_solution.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/query_solution.cpp
c++ -o build/59f4f0dd/mongo/db/s/get_database_version_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/get_database_version_command.cpp
gcc -o build/59f4f0dd/third_party/wiredtiger/src/support/hex.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/support/hex.c
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/permissions.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/log/src/permissions.cpp
c++ -o build/59f4f0dd/third_party/shim_abseil.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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/abseil-cpp-master/abseil-cpp -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/shim_abseil.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/third_party/libshim_abseil.a build/59f4f0dd/third_party/shim_abseil.o
Skipping ranlib for thin archive build/59f4f0dd/third_party/libshim_abseil.a
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/thread_specific.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/log/src/thread_specific.cpp
gcc -o build/59f4f0dd/third_party/wiredtiger/src/packing/pack_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/packing/pack_impl.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/os_posix/os_time.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/os_posix/os_time.c
c++ -o build/59f4f0dd/mongo/s/catalog/dist_lock_manager.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/catalog/dist_lock_manager.cpp
c++ -o build/59f4f0dd/mongo/s/catalog/dist_lock_ping_info.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/catalog/dist_lock_ping_info.cpp
c++ -o build/59f4f0dd/mongo/util/testing_options_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/util/testing_options_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/plan_cache.h:36,
                 from src/mongo/db/query/query_solution.h:40,
                 from src/mongo/db/query/query_solution.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/query_solution.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
Generating build/59f4f0dd/mongo/db/initialize_server_global_state_gen.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_raii.h:33,
                 from src/mongo/db/s/get_database_version_command.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/s/catalog/libdist_lock_manager.a build/59f4f0dd/mongo/s/catalog/dist_lock_manager.o build/59f4f0dd/mongo/s/catalog/dist_lock_ping_info.o
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/catalog/libdist_lock_manager.a
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/initialize_server_global_state_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/initialize_server_global_state_gen.cpp
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/s/get_database_version_command.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
gcc -o build/59f4f0dd/third_party/wiredtiger/src/txn/txn_log.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/txn/txn_log.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/query_solution.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/query_solution.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_raii.h:33,
                 from src/mongo/db/s/get_database_version_command.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/s/get_database_version_command.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/repl/oplog_buffer_blocking_queue.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/oplog_buffer_blocking_queue.cpp
c++ -o build/59f4f0dd/mongo/s/request_types/clone_collection_options_from_primary_shard_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/s/request_types/clone_collection_options_from_primary_shard_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 build/59f4f0dd/mongo/util/testing_options_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/util/testing_options_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/libquery_exec.a build/59f4f0dd/mongo/db/clientcursor.o build/59f4f0dd/mongo/db/cursor_manager.o build/59f4f0dd/mongo/db/exec/and_hash.o build/59f4f0dd/mongo/db/exec/and_sorted.o build/59f4f0dd/mongo/db/exec/cached_plan.o build/59f4f0dd/mongo/db/exec/change_stream_proxy.o build/59f4f0dd/mongo/db/exec/collection_scan.o build/59f4f0dd/mongo/db/exec/count.o build/59f4f0dd/mongo/db/exec/count_scan.o build/59f4f0dd/mongo/db/exec/delete.o build/59f4f0dd/mongo/db/exec/distinct_scan.o build/59f4f0dd/mongo/db/exec/ensure_sorted.o build/59f4f0dd/mongo/db/exec/eof.o build/59f4f0dd/mongo/db/exec/fetch.o build/59f4f0dd/mongo/db/exec/geo_near.o build/59f4f0dd/mongo/db/exec/idhack.o build/59f4f0dd/mongo/db/exec/index_scan.o build/59f4f0dd/mongo/db/exec/limit.o build/59f4f0dd/mongo/db/exec/merge_sort.o build/59f4f0dd/mongo/db/exec/multi_iterator.o build/59f4f0dd/mongo/db/exec/multi_plan.o build/59f4f0dd/mongo/db/exec/near.o build/59f4f0dd/mongo/db/exec/or.o build/59f4f0dd/mongo/db/exec/pipeline_proxy.o build/59f4f0dd/mongo/db/exec/plan_stage.o build/59f4f0dd/mongo/db/exec/projection.o build/59f4f0dd/mongo/db/exec/queued_data_stage.o build/59f4f0dd/mongo/db/exec/record_store_fast_count.o build/59f4f0dd/mongo/db/exec/requires_all_indices_stage.o build/59f4f0dd/mongo/db/exec/requires_collection_stage.o build/59f4f0dd/mongo/db/exec/requires_index_stage.o build/59f4f0dd/mongo/db/exec/return_key.o build/59f4f0dd/mongo/db/exec/shard_filter.o build/59f4f0dd/mongo/db/exec/shard_filterer_impl.o build/59f4f0dd/mongo/db/exec/skip.o build/59f4f0dd/mongo/db/exec/sort.o build/59f4f0dd/mongo/db/exec/sort_key_generator.o build/59f4f0dd/mongo/db/exec/subplan.o build/59f4f0dd/mongo/db/exec/text.o build/59f4f0dd/mongo/db/exec/text_match.o build/59f4f0dd/mongo/db/exec/text_or.o build/59f4f0dd/mongo/db/exec/trial_stage.o build/59f4f0dd/mongo/db/exec/update_stage.o build/59f4f0dd/mongo/db/exec/upsert_stage.o build/59f4f0dd/mongo/db/exec/working_set_common.o build/59f4f0dd/mongo/db/exec/write_stage_common.o build/59f4f0dd/mongo/db/ops/parsed_delete.o build/59f4f0dd/mongo/db/ops/update_result.o build/59f4f0dd/mongo/db/pipeline/document_source_cursor.o build/59f4f0dd/mongo/db/pipeline/document_source_geo_near_cursor.o build/59f4f0dd/mongo/db/pipeline/pipeline_d.o build/59f4f0dd/mongo/db/query/explain.o build/59f4f0dd/mongo/db/query/find.o build/59f4f0dd/mongo/db/query/get_executor.o build/59f4f0dd/mongo/db/query/internal_plans.o build/59f4f0dd/mongo/db/query/plan_executor_impl.o build/59f4f0dd/mongo/db/query/plan_ranker.o build/59f4f0dd/mongo/db/query/plan_yield_policy.o build/59f4f0dd/mongo/db/query/stage_builder.o build/59f4f0dd/mongo/db/run_op_kill_cursors.o
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/util/testing_options_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libquery_exec.a
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/59f4f0dd/mongo/util/testing_options_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/cursor_server_params_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/cursor_server_params_gen.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/repl/oplog.cpp:51:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/initialize_server_global_state_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/oplog.cpp:51:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/s/hedge_options_util.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/hedge_options_util.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/59f4f0dd/mongo/db/initialize_server_global_state_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/oplog.cpp:51:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/oplog.cpp:51:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from build/59f4f0dd/mongo/db/initialize_server_global_state_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/initialize_server_global_state_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/s/request_types/clone_collection_options_from_primary_shard_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 build/59f4f0dd/mongo/s/request_types/clone_collection_options_from_primary_shard_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/s/request_types/clone_collection_options_from_primary_shard_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/s/request_types/clone_collection_options_from_primary_shard_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/db/cursor_server_params_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/s/chunk_splitter.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/chunk_splitter.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 build/59f4f0dd/mongo/db/cursor_server_params_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/cursor_server_params_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/cursor_server_params_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/third_party/abseil-cpp-master/abseil-cpp/absl/hash/internal/hash.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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/abseil-cpp-master/abseil-cpp -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/abseil-cpp-master/abseil-cpp/absl/hash/internal/hash.cc
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/util/libtesting_options.a build/59f4f0dd/mongo/util/testing_options.o build/59f4f0dd/mongo/util/testing_options_gen.o
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/libtesting_options.a
ar rcsTD build/59f4f0dd/mongo/s/libhedge_options_util.a build/59f4f0dd/mongo/s/hedge_options_util.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/libhedge_options_util.a
c++ -o build/59f4f0dd/mongo/rpc/protocol.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/rpc/protocol.cpp
c++ -o build/59f4f0dd/mongo/s/write_ops/batched_command_response.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/write_ops/batched_command_response.cpp
c++ -o build/59f4f0dd/mongo/base/secure_allocator.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/base/secure_allocator.cpp
c++ -o build/59f4f0dd/third_party/s2/s2.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DDEBUG_MODE=false -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/third_party/s2/s2.cc
c++ -o build/59f4f0dd/mongo/db/query/query_request.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/query_request.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/rpc/metadata/oplog_query_metadata.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/rpc/metadata/oplog_query_metadata.cpp
ar rcsTD build/59f4f0dd/mongo/rpc/libprotocol.a build/59f4f0dd/mongo/rpc/message.o build/59f4f0dd/mongo/rpc/op_msg.o build/59f4f0dd/mongo/rpc/protocol.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/rpc/libprotocol.a
c++ -o build/59f4f0dd/mongo/rpc/metadata.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/rpc/metadata.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/s/write_ops/batched_command_response.cpp:35:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/rpc/metadata/config_server_metadata.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/rpc/metadata/config_server_metadata.cpp
ar rcsTD build/59f4f0dd/mongo/db/libcursor_server_params.a build/59f4f0dd/mongo/db/cursor_server_params.o build/59f4f0dd/mongo/db/cursor_server_params_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libcursor_server_params.a
c++ -o build/59f4f0dd/mongo/rpc/metadata/egress_metadata_hook_list.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/rpc/metadata/egress_metadata_hook_list.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/s/write_ops/batched_command_response.cpp:35:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/write_ops/batched_command_response.cpp:35:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/s/write_ops/batched_command_response.cpp:35:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/query/query_request.cpp:39:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/query/query_request.cpp:39:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/rpc/metadata/tracking_metadata.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/rpc/metadata/tracking_metadata.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/query/query_request.cpp:39:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/query/query_request.cpp:39:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/idl/server_parameter_with_storage.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/idl/server_parameter_with_storage.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/bson/util/bson_check.h:34,
                 from src/mongo/rpc/metadata/oplog_query_metadata.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/bson/util/bson_check.h:34,
                 from src/mongo/rpc/metadata/config_server_metadata.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/bson/util/bson_check.h:34,
                 from src/mongo/rpc/metadata/oplog_query_metadata.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/bson/util/bson_check.h:34,
                 from src/mongo/rpc/metadata/oplog_query_metadata.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_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/bson/util/bson_check.h:34,
                 from src/mongo/rpc/metadata/config_server_metadata.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/query/query_request.cpp: In static member function 'static mongo::StatusWith<std::unique_ptr<mongo::QueryRequest> > mongo::QueryRequest::parseFromFindCommand(std::unique_ptr<mongo::QueryRequest>, const mongo::BSONObj&, bool)':
src/mongo/db/query/query_request.cpp:451:21: warning: redundant move in return statement [-Wredundant-move]
  451 |     return std::move(qr);
      |            ~~~~~~~~~^~~~
src/mongo/db/query/query_request.cpp:451:21: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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/query/query_request.cpp: In static member function 'static mongo::StatusWith<std::unique_ptr<mongo::QueryRequest> > mongo::QueryRequest::fromLegacyQueryMessage(const mongo::QueryMessage&)':
src/mongo/db/query/query_request.cpp:783:21: warning: redundant move in return statement [-Wredundant-move]
  783 |     return std::move(qr);
      |            ~~~~~~~~~^~~~
src/mongo/db/query/query_request.cpp:783:21: note: remove 'std::move' call
src/mongo/db/query/query_request.cpp: In static member function 'static mongo::StatusWith<std::unique_ptr<mongo::QueryRequest> > mongo::QueryRequest::fromLegacyQuery(mongo::NamespaceStringOrUUID, const mongo::BSONObj&, const mongo::BSONObj&, int, int, int)':
src/mongo/db/query/query_request.cpp:799:21: warning: redundant move in return statement [-Wredundant-move]
  799 |     return std::move(qr);
      |            ~~~~~~~~~^~~~
src/mongo/db/query/query_request.cpp:799:21: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
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/bson/util/bson_check.h:34,
                 from src/mongo/rpc/metadata/oplog_query_metadata.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/bson/util/bson_check.h:34,
                 from src/mongo/rpc/metadata/config_server_metadata.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/bson/util/bson_check.h:34,
                 from src/mongo/rpc/metadata/config_server_metadata.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/commands/server_status_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/server_status_command.cpp
c++ -o build/59f4f0dd/third_party/shim_boost.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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/boost-1.70.0 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/shim_boost.cpp
c++ -o build/59f4f0dd/mongo/rpc/legacy_reply_builder.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/rpc/legacy_reply_builder.cpp
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/text_ostream_backend.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/log/src/text_ostream_backend.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/bson/util/bson_check.h:34,
                 from src/mongo/rpc/metadata/tracking_metadata.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/bson/util/bson_check.h:34,
                 from src/mongo/rpc/metadata/tracking_metadata.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/bson/util/bson_check.h:34,
                 from src/mongo/rpc/metadata/tracking_metadata.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/bson/util/bson_check.h:34,
                 from src/mongo/rpc/metadata/tracking_metadata.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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: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/query/query_request.cpp:39:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/auth/privilege_parser.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/privilege_parser.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/auth/user_management_commands_parser.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/user_management_commands_parser.cpp
c++ -o build/59f4f0dd/mongo/db/auth/resource_pattern.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/resource_pattern.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_command.cpp:35:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/auth/impersonation_session.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/impersonation_session.cpp
c++ -o build/59f4f0dd/mongo/db/auth/action_type_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/auth/action_type_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/commands/server_status_command.cpp:35:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_command.cpp:35:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/auth/privilege.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/privilege.cpp
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_command.cpp:35:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/rpc/libmetadata.a build/59f4f0dd/mongo/rpc/metadata.o build/59f4f0dd/mongo/rpc/metadata/config_server_metadata.o build/59f4f0dd/mongo/rpc/metadata/egress_metadata_hook_list.o build/59f4f0dd/mongo/rpc/metadata/logical_time_metadata.o build/59f4f0dd/mongo/rpc/metadata/sharding_metadata.o build/59f4f0dd/mongo/rpc/metadata/repl_set_metadata.o build/59f4f0dd/mongo/rpc/metadata/oplog_query_metadata.o build/59f4f0dd/mongo/rpc/metadata/tracking_metadata.o build/59f4f0dd/mongo/rpc/topology_version_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/rpc/libmetadata.a
c++ -o build/59f4f0dd/mongo/transport/message_compressor_zlib.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/transport/message_compressor_zlib.cpp
c++ -o build/59f4f0dd/mongo/transport/message_compressor_zstd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/transport/message_compressor_zstd.cpp
c++ -o build/59f4f0dd/mongo/util/password_digest.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/password_digest.cpp
c++ -o build/59f4f0dd/mongo/util/md5.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/md5.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/auth/user_management_commands_parser.cpp:48:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/thread/src/future.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_THREAD_BUILD_LIB -DBOOST_THREAD_PTHREAD -Isrc/third_party/boost-1.70.0 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/thread/src/future.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/auth/user_management_commands_parser.cpp:48:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/util/libmd5.a build/59f4f0dd/mongo/util/md5.o build/59f4f0dd/mongo/util/password_digest.o
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/libread_write_concern_defaults.a build/59f4f0dd/mongo/db/read_write_concern_defaults.o build/59f4f0dd/mongo/db/read_write_concern_defaults_gen.o
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/libmd5.a
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/s/database_version_helpers.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/database_version_helpers.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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from src/mongo/db/auth/user_management_commands_parser.cpp:48:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/libread_write_concern_defaults.a
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/s/libchunk_splitter.a build/59f4f0dd/mongo/db/s/chunk_split_state_driver.o
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/s/libchunk_splitter.a
c++ -o build/59f4f0dd/mongo/db/catalog/multi_index_block.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/multi_index_block.cpp
c++ -o build/59f4f0dd/mongo/s/catalog/type_chunk_base_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/s/catalog/type_chunk_base_gen.cpp
ar rcsTD build/59f4f0dd/mongo/transport/libmessage_compressor.a build/59f4f0dd/mongo/transport/message_compressor_manager.o build/59f4f0dd/mongo/transport/message_compressor_metrics.o build/59f4f0dd/mongo/transport/message_compressor_registry.o build/59f4f0dd/mongo/transport/message_compressor_snappy.o build/59f4f0dd/mongo/transport/message_compressor_zlib.o build/59f4f0dd/mongo/transport/message_compressor_zstd.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/transport/libmessage_compressor.a
c++ -o build/59f4f0dd/third_party/shim_zlib.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/shim_zlib.cpp
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/auth/user_management_commands_parser.cpp:48:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/system_index.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/system_index.cpp
ar rcsTD build/59f4f0dd/third_party/boost-1.70.0/libboost_thread.a build/59f4f0dd/third_party/boost-1.70.0/libs/thread/src/future.o build/59f4f0dd/third_party/boost-1.70.0/libs/thread/src/pthread/once.o build/59f4f0dd/third_party/boost-1.70.0/libs/thread/src/pthread/thread.o
Skipping ranlib for thin archive build/59f4f0dd/third_party/boost-1.70.0/libboost_thread.a
gcc -o build/59f4f0dd/third_party/wiredtiger/src/os_common/os_errno.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/os_common/os_errno.c
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/s/request_types/get_database_version_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/s/request_types/get_database_version_gen.cpp
c++ -o build/59f4f0dd/mongo/db/query/tailable_mode.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/tailable_mode.cpp
ar rcsTD build/59f4f0dd/mongo/db/commands/libserver_status.a build/59f4f0dd/mongo/db/commands/server_status_command.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/commands/libserver_status.a
c++ -o build/59f4f0dd/mongo/db/s/config/configsvr_commit_move_primary_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/config/configsvr_commit_move_primary_command.cpp
c++ -o build/59f4f0dd/mongo/db/repl/repl_set_config_checks.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/repl_set_config_checks.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/s/catalog/type_chunk_base_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/s/catalog/type_chunk_base_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/s/catalog/type_chunk_base_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_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/multi_index_block.cpp:40:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/repl/apply_ops_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/repl/apply_ops_gen.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
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/59f4f0dd/mongo/s/catalog/type_chunk_base_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/s/request_types/get_database_version_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/multi_index_block.cpp:40:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/system_index.cpp:40:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/multi_index_block.cpp:40:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_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/59f4f0dd/mongo/s/request_types/get_database_version_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/multi_index_block.cpp:40:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595: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/system_index.cpp:40:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/s/request_types/get_database_version_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/s/request_types/get_database_version_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/system_index.cpp:40:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/auth/libauthprivilege.a build/59f4f0dd/mongo/db/auth/action_set.o build/59f4f0dd/mongo/db/auth/action_type_gen.o build/59f4f0dd/mongo/db/auth/impersonation_session.o build/59f4f0dd/mongo/db/auth/privilege.o build/59f4f0dd/mongo/db/auth/privilege_parser.o build/59f4f0dd/mongo/db/auth/resource_pattern.o build/59f4f0dd/mongo/db/auth/user_management_commands_parser.o
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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/system_index.cpp:40:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/auth/libauthprivilege.a
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/named_scope.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/log/src/named_scope.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_commit_move_primary_command.cpp:35:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/s/config/configsvr_commit_move_primary_command.cpp:35:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_commit_move_primary_command.cpp:35:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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: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_commit_move_primary_command.cpp:35:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/fts/ftsmongod.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/fts/ftsmongod.cpp
ar rcsTD build/59f4f0dd/mongo/db/repl/librepl_server_parameters.a build/59f4f0dd/mongo/db/repl/repl_server_parameters_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/librepl_server_parameters.a
c++ -o build/59f4f0dd/mongo/bson/util/bson_extract.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/bson/util/bson_extract.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/59f4f0dd/mongo/db/repl/apply_ops_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/repl/storage_interface_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/storage_interface_impl.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/s/libop_observer_sharding_impl.a build/59f4f0dd/mongo/db/s/op_observer_sharding_impl.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/s/libop_observer_sharding_impl.a
c++ -o build/59f4f0dd/mongo/db/operation_time_tracker.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/operation_time_tracker.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/59f4f0dd/mongo/db/repl/apply_ops_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/repl/apply_ops_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/repl/apply_ops_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/bson/util/libbson_extract.a build/59f4f0dd/mongo/bson/util/bson_extract.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/bson/util/libbson_extract.a
ar rcsTD build/59f4f0dd/mongo/util/libsummation.a build/59f4f0dd/mongo/util/summation.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/libsummation.a
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/process_id.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/log/src/process_id.cpp
c++ -o build/59f4f0dd/mongo/db/pipeline/granularity_rounder_powers_of_two.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/granularity_rounder_powers_of_two.cpp
c++ -o build/59f4f0dd/third_party/s2/s2edgeutil.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DDEBUG_MODE=false -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/third_party/s2/s2edgeutil.cc
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/auth/security_key.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/security_key.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/repl/storage_interface.h:40,
                 from src/mongo/db/repl/storage_interface_impl.h:39,
                 from src/mongo/db/repl/storage_interface_impl.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/storage/libkey_string.a build/59f4f0dd/mongo/db/storage/key_string.o
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/libkey_string.a
gcc -o build/59f4f0dd/third_party/wiredtiger/src/btree/col_srch.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/btree/col_srch.c
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/storage_interface_impl.h:39,
                 from src/mongo/db/repl/storage_interface_impl.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/liblogical_time.a build/59f4f0dd/mongo/db/logical_time.o build/59f4f0dd/mongo/db/operation_time_tracker.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/liblogical_time.a
c++ -o build/59f4f0dd/mongo/db/s/periodic_balancer_config_refresher.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/periodic_balancer_config_refresher.cpp
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_change_stream_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/pipeline/document_source_change_stream_gen.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/repl/storage_interface.h:40,
                 from src/mongo/db/repl/storage_interface_impl.h:39,
                 from src/mongo/db/repl/storage_interface_impl.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/storage_interface_impl.h:39,
                 from src/mongo/db/repl/storage_interface_impl.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/s/config/initial_split_policy.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/config/initial_split_policy.cpp
In file included from src/mongo/db/pipeline/expression_context.h:44,
                 from src/mongo/db/pipeline/granularity_rounder.h:38,
                 from src/mongo/db/pipeline/granularity_rounder_powers_of_two.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/startup_warnings_mongod.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/startup_warnings_mongod.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 src/mongo/db/auth/sasl_mechanism_registry.h:38,
                 from src/mongo/db/auth/sasl_mechanism_policies.h:34,
                 from src/mongo/db/auth/sasl_scram_server_conversation.h:33,
                 from src/mongo/db/auth/security_key.cpp:51:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/auth/sasl_mechanism_registry.h:38,
                 from src/mongo/db/auth/sasl_mechanism_policies.h:34,
                 from src/mongo/db/auth/sasl_scram_server_conversation.h:33,
                 from src/mongo/db/auth/security_key.cpp:51:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/third_party/asio-master/asio/src/asio.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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/boost-1.70.0 -Isrc/third_party/asio-master/asio/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/asio-master/asio/src/asio.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/auth/sasl_mechanism_registry.h:38,
                 from src/mongo/db/auth/sasl_mechanism_policies.h:34,
                 from src/mongo/db/auth/sasl_scram_server_conversation.h:33,
                 from src/mongo/db/auth/security_key.cpp:51:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/auth/sasl_mechanism_registry.h:38,
                 from src/mongo/db/auth/sasl_mechanism_policies.h:34,
                 from src/mongo/db/auth/sasl_scram_server_conversation.h:33,
                 from src/mongo/db/auth/security_key.cpp:51:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/storage/biggie/biggie_visibility_manager.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/biggie/biggie_visibility_manager.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/59f4f0dd/mongo/db/pipeline/document_source_change_stream_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/pipeline/document_source_change_stream_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/pipeline/document_source_change_stream_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/pipeline/document_source_change_stream_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/util/background_thread_clock_source.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/background_thread_clock_source.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/catalog_raii.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog_raii.cpp
c++ -o build/59f4f0dd/mongo/client/sasl_client_authenticate_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/sasl_client_authenticate_impl.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/libstartup_warnings_mongod.a build/59f4f0dd/mongo/db/startup_warnings_mongod.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libstartup_warnings_mongod.a
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/scripting/mozjs/scripting_util_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/scripting/mozjs/scripting_util_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/client/fetcher.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/fetcher.cpp
gcc -o build/59f4f0dd/third_party/wiredtiger/src/optrack/optrack.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/optrack/optrack.c
gcc -o build/59f4f0dd/third_party/libstemmer_c/src_c/stem_UTF_8_russian.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -fno-strict-overflow -DNDEBUG -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/libstemmer_c/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/libstemmer_c/src_c/stem_UTF_8_russian.c
c++ -o build/59f4f0dd/mongo/db/storage/biggie/biggie_record_store.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/biggie/biggie_record_store.cpp
c++ -o build/59f4f0dd/mongo/db/ops/single_write_result_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/ops/single_write_result_gen.cpp
ar rcsTD build/59f4f0dd/third_party/libshim_boost.a build/59f4f0dd/third_party/shim_boost.o
Skipping ranlib for thin archive build/59f4f0dd/third_party/libshim_boost.a
c++ -o build/59f4f0dd/mongo/db/s/merge_chunks_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/merge_chunks_command.cpp
c++ -o build/59f4f0dd/mongo/s/request_types/create_database_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/s/request_types/create_database_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 build/59f4f0dd/mongo/scripting/mozjs/scripting_util_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/scripting/mozjs/scripting_util_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/scripting/mozjs/scripting_util_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/scripting/mozjs/scripting_util_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/clientcursor.h:40,
                 from src/mongo/client/fetcher.h:42,
                 from src/mongo/client/fetcher.cpp:33:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/catalog_raii.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/client/fetcher.h:42,
                 from src/mongo/client/fetcher.cpp:33:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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_raii.h:33,
                 from src/mongo/db/catalog_raii.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/client/fetcher.h:42,
                 from src/mongo/client/fetcher.cpp:33:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/client/fetcher.h:42,
                 from src/mongo/client/fetcher.cpp:33:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/initialize_operation_session_info.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/initialize_operation_session_info.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_raii.h:33,
                 from src/mongo/db/catalog_raii.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/catalog_raii.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/db/ops/single_write_result_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/s/request_types/create_database_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/s/merge_chunks_command.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_raii.h:33,
                 from src/mongo/db/s/merge_chunks_command.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/ops/single_write_result_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/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/59f4f0dd/mongo/s/request_types/create_database_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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:595:25: note: remove 'std::move' call
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::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/ops/single_write_result_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_raii.h:33,
                 from src/mongo/db/s/merge_chunks_command.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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: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/59f4f0dd/mongo/s/request_types/create_database_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_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/59f4f0dd/mongo/db/ops/single_write_result_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/s/merge_chunks_command.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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: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/59f4f0dd/mongo/s/request_types/create_database_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/scripting/mozjs/internedstring.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/internedstring.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/s/request_types/merge_chunks_request_type.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/request_types/merge_chunks_request_type.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
gcc -o build/59f4f0dd/third_party/libstemmer_c/src_c/stem_UTF_8_english.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -fno-strict-overflow -DNDEBUG -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/libstemmer_c/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/libstemmer_c/src_c/stem_UTF_8_english.c
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/filesystem/src/windows_file_codecvt.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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/boost-1.70.0 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/filesystem/src/windows_file_codecvt.cpp
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/filesystem/src/utf8_codecvt_facet.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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/boost-1.70.0 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/filesystem/src/utf8_codecvt_facet.cpp
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/filesystem/src/codecvt_error_category.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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/boost-1.70.0 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/filesystem/src/codecvt_error_category.cpp
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/filesystem/src/portability.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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/boost-1.70.0 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/filesystem/src/portability.cpp
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/filesystem/src/operations.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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/boost-1.70.0 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/filesystem/src/operations.cpp
ar rcsTD build/59f4f0dd/mongo/client/libfetcher.a build/59f4f0dd/mongo/client/fetcher.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/client/libfetcher.a
gcc -o build/59f4f0dd/third_party/wiredtiger/src/reconcile/rec_track.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/reconcile/rec_track.c
ar rcsTD build/59f4f0dd/mongo/db/libcatalog_raii.a build/59f4f0dd/mongo/db/catalog_raii.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libcatalog_raii.a
ar rcsTD build/59f4f0dd/mongo/db/commands/librename_collection_idl.a build/59f4f0dd/mongo/db/commands/rename_collection_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/commands/librename_collection_idl.a
ar rcsTD build/59f4f0dd/mongo/db/index/libduplicate_key_tracker.a build/59f4f0dd/mongo/db/index/duplicate_key_tracker.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/index/libduplicate_key_tracker.a
c++ -o build/59f4f0dd/mongo/db/geo/r2_region_coverer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/geo/r2_region_coverer.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_match_array_index.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/schema/expression_internal_schema_match_array_index.cpp
c++ -o build/59f4f0dd/mongo/s/request_types/move_chunk_request.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/request_types/move_chunk_request.cpp
ar rcsTD build/59f4f0dd/third_party/abseil-cpp-master/libabsl_throw_delegate.a build/59f4f0dd/third_party/abseil-cpp-master/abseil-cpp/absl/base/internal/throw_delegate.o
Skipping ranlib for thin archive build/59f4f0dd/third_party/abseil-cpp-master/libabsl_throw_delegate.a
ar rcsTD build/59f4f0dd/mongo/db/commands/libshell_protocol.a build/59f4f0dd/mongo/db/commands/test_commands.o build/59f4f0dd/mongo/db/commands/whats_my_uri_cmd.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/commands/libshell_protocol.a
c++ -o build/59f4f0dd/mongo/util/periodic_runner.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/periodic_runner.cpp
ar rcsTD build/59f4f0dd/mongo/db/catalog/libindex_build_entry_idl.a build/59f4f0dd/mongo/db/catalog/index_build_entry_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/catalog/libindex_build_entry_idl.a
c++ -o build/59f4f0dd/mongo/s/query/async_results_merger.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/query/async_results_merger.cpp
ar rcsTD build/59f4f0dd/third_party/boost-1.70.0/libboost_filesystem.a build/59f4f0dd/third_party/boost-1.70.0/libs/filesystem/src/codecvt_error_category.o build/59f4f0dd/third_party/boost-1.70.0/libs/filesystem/src/operations.o build/59f4f0dd/third_party/boost-1.70.0/libs/filesystem/src/path.o build/59f4f0dd/third_party/boost-1.70.0/libs/filesystem/src/path_traits.o build/59f4f0dd/third_party/boost-1.70.0/libs/filesystem/src/portability.o build/59f4f0dd/third_party/boost-1.70.0/libs/filesystem/src/unique_path.o build/59f4f0dd/third_party/boost-1.70.0/libs/filesystem/src/utf8_codecvt_facet.o build/59f4f0dd/third_party/boost-1.70.0/libs/filesystem/src/windows_file_codecvt.o
Skipping ranlib for thin archive build/59f4f0dd/third_party/boost-1.70.0/libboost_filesystem.a
c++ -o build/59f4f0dd/mongo/db/global_settings.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/global_settings.cpp
c++ -o build/59f4f0dd/mongo/db/ftdc/ftdc_mongod.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/ftdc/ftdc_mongod.cpp
c++ -o build/59f4f0dd/mongo/db/matcher/expression_where.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/expression_where.cpp
c++ -o build/59f4f0dd/mongo/db/repl/repl_settings_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/repl/repl_settings_gen.cpp
In file included from src/mongo/db/matcher/schema/expression_internal_schema_match_array_index.h:35,
                 from src/mongo/db/matcher/schema/expression_internal_schema_match_array_index.cpp:32:
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchObjectMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:85:25: warning: redundant move in return statement [-Wredundant-move]
   85 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:85:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchValueMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:140:25: warning: redundant move in return statement [-Wredundant-move]
  140 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:140:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::SizeMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:177:25: warning: redundant move in return statement [-Wredundant-move]
  177 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:177: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/schema/expression_internal_schema_match_array_index.h:36,
                 from src/mongo/db/matcher/schema/expression_internal_schema_match_array_index.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/mongod_options_storage_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/mongod_options_storage_gen.cpp
c++ -o build/59f4f0dd/mongo/db/query/count_command_as_aggregation_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/count_command_as_aggregation_command.cpp
src/mongo/db/matcher/schema/expression_internal_schema_match_array_index.cpp: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaMatchArrayIndexMatchExpression::shallowClone() const':
src/mongo/db/matcher/schema/expression_internal_schema_match_array_index.cpp:94:21: warning: redundant move in return statement [-Wredundant-move]
   94 |     return std::move(clone);
      |            ~~~~~~~~~^~~~~~~
src/mongo/db/matcher/schema/expression_internal_schema_match_array_index.cpp:94: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/clientcursor.h:40,
                 from src/mongo/db/query/cursor_response.h:36,
                 from build/59f4f0dd/mongo/s/query/async_results_merger_params_gen.h:24,
                 from src/mongo/s/query/async_results_merger.h:41,
                 from src/mongo/s/query/async_results_merger.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/s/query/async_results_merger_params_gen.h:24,
                 from src/mongo/s/query/async_results_merger.h:41,
                 from src/mongo/s/query/async_results_merger.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/ftdc/ftdc_server.h:36,
                 from src/mongo/db/ftdc/ftdc_mongod.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/s/query/async_results_merger_params_gen.h:24,
                 from src/mongo/s/query/async_results_merger.h:41,
                 from src/mongo/s/query/async_results_merger.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/s/query/async_results_merger_params_gen.h:24,
                 from src/mongo/s/query/async_results_merger.h:41,
                 from src/mongo/s/query/async_results_merger.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from src/mongo/db/ftdc/ftdc_server.h:36,
                 from src/mongo/db/ftdc/ftdc_mongod.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/ftdc/ftdc_server.h:36,
                 from src/mongo/db/ftdc/ftdc_mongod.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/ftdc/ftdc_server.h:36,
                 from src/mongo/db/ftdc/ftdc_mongod.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/watchdog/watchdog_register.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/watchdog/watchdog_register.cpp
src/mongo/s/query/async_results_merger.cpp: In static member function 'static mongo::StatusWith<mongo::CursorResponse> mongo::AsyncResultsMerger::_parseCursorResponse(const mongo::BSONObj&, const mongo::AsyncResultsMerger::RemoteCursorData&)':
src/mongo/s/query/async_results_merger.cpp:562:21: warning: redundant move in return statement [-Wredundant-move]
  562 |     return std::move(cursorResponse);
      |            ~~~~~~~~~^~~~~~~~~~~~~~~~
src/mongo/s/query/async_results_merger.cpp:562:21: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/pipeline/process_interface/shardsvr_process_interface.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/process_interface/shardsvr_process_interface.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/59f4f0dd/mongo/db/repl/repl_settings_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:37,
                 from src/mongo/db/matcher/expression_where.cpp:41:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/watchdog/libwatchdog_register.a build/59f4f0dd/mongo/watchdog/watchdog_register.o
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/watchdog/libwatchdog_register.a
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/matcher/expression_where.cpp:41:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/s/migration_chunk_cloner_source_legacy_commands.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp
In file included from src/mongo/db/matcher/expression_parser.h:39,
                 from src/mongo/db/matcher/expression_where.cpp:41:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_where.cpp:41:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/repl/repl_settings_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/repl/repl_settings_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/repl/repl_settings_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/logical_session_cache.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/logical_session_cache.cpp
src/mongo/db/matcher/expression_where.cpp: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::WhereMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_where.cpp:120:21: warning: redundant move in return statement [-Wredundant-move]
  120 |     return std::move(e);
      |            ~~~~~~~~~^~~
src/mongo/db/matcher/expression_where.cpp:120:21: 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/59f4f0dd/mongo/s/query/async_results_merger_params_gen.h:24,
                 from src/mongo/s/query/async_results_merger.h:41,
                 from src/mongo/s/query/async_results_merger.cpp:34:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/mongod_options_storage_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 build/59f4f0dd/mongo/db/mongod_options_storage_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/mongod_options_storage_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_where.cpp:41:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
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/59f4f0dd/mongo/db/mongod_options_storage_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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:37,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/shardsvr_process_interface.h:33,
                 from src/mongo/db/pipeline/process_interface/shardsvr_process_interface.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/shardsvr_process_interface.h:33,
                 from src/mongo/db/pipeline/process_interface/shardsvr_process_interface.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/shardsvr_process_interface.h:33,
                 from src/mongo/db/pipeline/process_interface/shardsvr_process_interface.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/collection_index_usage_tracker.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/collection_index_usage_tracker.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_raii.h:33,
                 from src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/shardsvr_process_interface.h:33,
                 from src/mongo/db/pipeline/process_interface/shardsvr_process_interface.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_raii.h:33,
                 from src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
gcc -o build/59f4f0dd/third_party/wiredtiger/src/support/rand.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/support/rand.c
c++ -o build/59f4f0dd/mongo/db/pipeline/expression_function.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/expression_function.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_raii.h:33,
                 from src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/s/txn_two_phase_commit_cmds.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/txn_two_phase_commit_cmds.cpp
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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/s/migration_chunk_cloner_source_legacy_commands.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/query/interval.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/interval.cpp
ar rcsTD build/59f4f0dd/mongo/db/repl/librepl_settings.a build/59f4f0dd/mongo/db/repl/repl_settings.o build/59f4f0dd/mongo/db/repl/repl_settings_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/librepl_settings.a
/usr/pkg/bin/python3.12 src/mongo/base/generate_error_codes.py src/mongo/base/error_codes.yml src/mongo/shell/error_codes.tpl.js build/59f4f0dd/mongo/shell/error_codes.js
/usr/pkg/bin/python3.12 site_scons/site_tools/jstoh.py build/59f4f0dd/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/59f4f0dd/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
c++ -o build/59f4f0dd/mongo/shell/mongo.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/shell/mongo.cpp
ar rcsTD build/59f4f0dd/mongo/db/libcollection_index_usage_tracker.a build/59f4f0dd/mongo/db/collection_index_usage_tracker.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libcollection_index_usage_tracker.a
c++ -o build/59f4f0dd/mongo/db/mongod_options_sharding_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/mongod_options_sharding_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/pipeline/expression.h:47,
                 from src/mongo/db/pipeline/expression_function.h:32,
                 from src/mongo/db/pipeline/expression_function.cpp:30:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/third_party/s2/strings/stringprintf.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -Isrc/third_party/s2 -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/third_party/s2/strings/stringprintf.cc
ar rcsTD build/59f4f0dd/third_party/s2/strings/libstrings.a build/59f4f0dd/third_party/s2/strings/split.o build/59f4f0dd/third_party/s2/strings/stringprintf.o build/59f4f0dd/third_party/s2/strings/strutil.o
Skipping ranlib for thin archive build/59f4f0dd/third_party/s2/strings/libstrings.a
c++ -o build/59f4f0dd/mongo/db/server_options_init.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/server_options_init.cpp
c++ -o build/59f4f0dd/mongo/db/initialize_server_global_state.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/initialize_server_global_state.cpp
In file included from src/mongo/db/matcher/expression_parser.h:39,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/shardsvr_process_interface.h:33,
                 from src/mongo/db/pipeline/process_interface/shardsvr_process_interface.cpp:34:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 src/mongo/db/s/txn_two_phase_commit_cmds.cpp:35:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/shell/libmongojs.a build/59f4f0dd/mongo/shell/mongo.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/shell/libmongojs.a
c++ -o build/59f4f0dd/mongo/db/query/count_request.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/count_request.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/pipeline/libexpression_javascript.a build/59f4f0dd/mongo/db/pipeline/expression_function.o build/59f4f0dd/mongo/db/pipeline/expression_js_emit.o
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/txn_two_phase_commit_cmds.cpp:35:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/pipeline/libexpression_javascript.a
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/ops/find_and_modify_result.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/ops/find_and_modify_result.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/txn_two_phase_commit_cmds.cpp:35:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/txn_two_phase_commit_cmds.cpp:35:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/db/mongod_options_sharding_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/repl/speculative_auth.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/speculative_auth.cpp
Generating build/59f4f0dd/mongo/db/index/index_build_interceptor_gen.cpp
c++ -o build/59f4f0dd/mongo/util/options_parser/options_parser_init.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/options_parser/options_parser_init.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/59f4f0dd/mongo/db/mongod_options_sharding_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/index/index_build_interceptor_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/index/index_build_interceptor_gen.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/mongod_options_sharding_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/mongod_options_sharding_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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:37,
                 from src/mongo/db/query/count_request.cpp:35:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/query/count_request.cpp:35:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/query/count_request.cpp:35:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/query/count_request.cpp:35:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/scripting/mozjs/valuereader.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/valuereader.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/util/options_parser/liboptions_parser_init.a build/59f4f0dd/mongo/util/options_parser/options_parser_init.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/options_parser/liboptions_parser_init.a
c++ -o build/59f4f0dd/mongo/db/dbdirectclient.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/dbdirectclient.cpp
In file included from src/mongo/db/matcher/expression_parser.h:39,
                 from src/mongo/db/query/count_request.cpp:35:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/repl/libspeculative_authenticate.a build/59f4f0dd/mongo/db/repl/speculative_auth.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libspeculative_authenticate.a
ar rcsTD build/59f4f0dd/mongo/transport/libtransport_layer_manager.a build/59f4f0dd/mongo/transport/transport_layer_manager.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/transport/libtransport_layer_manager.a
c++ -o build/59f4f0dd/mongo/db/s/start_chunk_clone_request.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/start_chunk_clone_request.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/59f4f0dd/mongo/db/index/index_build_interceptor_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/core.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/log/src/core.cpp
ar rcsTD build/59f4f0dd/mongo/db/libserverinit.a build/59f4f0dd/mongo/db/initialize_server_global_state.o build/59f4f0dd/mongo/db/initialize_server_global_state_gen.o build/59f4f0dd/mongo/db/server_options_init.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libserverinit.a
c++ -o build/59f4f0dd/mongo/s/request_types/remove_shard_from_zone_request_type.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/request_types/remove_shard_from_zone_request_type.cpp
c++ -o build/59f4f0dd/mongo/s/async_requests_sender.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/async_requests_sender.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/59f4f0dd/mongo/db/index/index_build_interceptor_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/index/index_build_interceptor_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/index/index_build_interceptor_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/include/jspubtd.h:17,
                 from src/third_party/mozjs-60/include/jsapi.h:26,
                 from src/mongo/scripting/mozjs/valuereader.h:32,
                 from src/mongo/scripting/mozjs/valuereader.cpp:34:
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 = 1]':
src/third_party/mozjs-60/include/jsapi.h:85:30:   required from 'JS::AutoValueArray<N>::AutoValueArray(JSContext*) [with long unsigned int N = 1]'
src/mongo/scripting/mozjs/valuereader.cpp:62:52:   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/include/js/CallArgs.h:74,
                 from src/third_party/mozjs-60/include/jsapi.h:29,
                 from src/mongo/scripting/mozjs/valuereader.h:32,
                 from src/mongo/scripting/mozjs/valuereader.cpp:34:
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/include/jspubtd.h:17,
                 from src/third_party/mozjs-60/include/jsapi.h:26,
                 from src/mongo/scripting/mozjs/valuereader.h:32,
                 from src/mongo/scripting/mozjs/valuereader.cpp:34:
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/include/jsapi.h:85:30:   required from 'JS::AutoValueArray<N>::AutoValueArray(JSContext*) [with long unsigned int N = 2]'
src/mongo/scripting/mozjs/valuereader.cpp:73:52:   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/include/js/CallArgs.h:74,
                 from src/third_party/mozjs-60/include/jsapi.h:29,
                 from src/mongo/scripting/mozjs/valuereader.h:32,
                 from src/mongo/scripting/mozjs/valuereader.cpp:34:
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/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/dbdirectclient.cpp:39:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/query/index_tag.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/index_tag.cpp
gcc -o build/59f4f0dd/third_party/wiredtiger/src/cursor/cur_table.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/cursor/cur_table.c
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/commands/feature_compatibility_version.h:35,
                 from src/mongo/db/s/start_chunk_clone_request.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/dbdirectclient.cpp:39:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/commands/feature_compatibility_version.h:35,
                 from src/mongo/db/s/start_chunk_clone_request.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/dbdirectclient.cpp:39:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/dbdirectclient.cpp:39:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/repl/oplog_buffer_proxy.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/oplog_buffer_proxy.cpp
gcc -o build/59f4f0dd/third_party/wiredtiger/src/lsm/lsm_meta.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/lsm/lsm_meta.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/repl/storage_interface.h:40,
                 from src/mongo/db/commands/feature_compatibility_version.h:35,
                 from src/mongo/db/s/start_chunk_clone_request.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/feature_compatibility_version.h:35,
                 from src/mongo/db/s/start_chunk_clone_request.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
gcc -o build/59f4f0dd/third_party/wiredtiger/src/os_posix/os_pagesize.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/os_posix/os_pagesize.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/os_common/os_fs_inmemory.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/os_common/os_fs_inmemory.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/txn/txn_timestamp.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/txn/txn_timestamp.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/block/block_map.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/block/block_map.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_read.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/btree/bt_read.c
In file included from src/mongo/db/query/index_tag.cpp:32:
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchObjectMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:85:25: warning: redundant move in return statement [-Wredundant-move]
   85 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:85:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchValueMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:140:25: warning: redundant move in return statement [-Wredundant-move]
  140 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:140:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::SizeMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:177:25: warning: redundant move in return statement [-Wredundant-move]
  177 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:177:25: note: remove 'std::move' call
In file included from src/mongo/db/query/index_tag.cpp:33:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
gcc -o build/59f4f0dd/third_party/wiredtiger/src/os_common/filename.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/os_common/filename.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/txn/txn_ext.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/txn/txn_ext.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/support/err.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/support/err.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/os_posix/os_once.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/os_posix/os_once.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/cursor/cur_file.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/cursor/cur_file.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/meta/meta_turtle.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/meta/meta_turtle.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/conn/conn_handle.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/conn/conn_handle.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_delete.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/btree/bt_delete.c
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
gcc -o build/59f4f0dd/third_party/wiredtiger/src/schema/schema_util.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/schema/schema_util.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/schema/schema_list.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/schema/schema_list.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/reconcile/rec_visibility.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/reconcile/rec_visibility.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/config/config.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/config/config.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/support/cond_auto.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/support/cond_auto.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/config/config_api.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/config/config_api.c
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
gcc -o build/59f4f0dd/third_party/wiredtiger/src/lsm/lsm_cursor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/lsm/lsm_cursor.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/block/block_addr.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/block/block_addr.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/evict/evict_stat.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/evict/evict_stat.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/evict/evict_lru.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/evict/evict_lru.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/os_posix/os_getenv.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/os_posix/os_getenv.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/support/hazard.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/support/hazard.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/schema/schema_open.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/schema/schema_open.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/cursor/cur_stat.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/cursor/cur_stat.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/support/mtx_rw.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/support/mtx_rw.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/support/generation.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/support/generation.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/schema/schema_alter.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/schema/schema_alter.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_vrfy.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/btree/bt_vrfy.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_sync.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/btree/bt_sync.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/os_posix/os_thread.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/os_posix/os_thread.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/conn/conn_dhandle.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/conn/conn_dhandle.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/cursor/cur_index.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/cursor/cur_index.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/session/session_compact.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/session/session_compact.c
ar rcsTD build/59f4f0dd/mongo/s/libasync_requests_sender.a build/59f4f0dd/mongo/s/async_requests_sender.o
gcc -o build/59f4f0dd/third_party/wiredtiger/src/conn/conn_stat.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/conn/conn_stat.c
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/libasync_requests_sender.a
gcc -o build/59f4f0dd/third_party/wiredtiger/src/cursor/cur_config.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/cursor/cur_config.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/os_common/os_getopt.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/os_common/os_getopt.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/os_posix/os_fs.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/os_posix/os_fs.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/evict/evict_page.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/evict/evict_page.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_upgrade.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/btree/bt_upgrade.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/conn/conn_reconfig.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/conn/conn_reconfig.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/lsm/lsm_stat.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/lsm/lsm_stat.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/support/huffman.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/support/huffman.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/txn/txn_recover.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/txn/txn_recover.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/schema/schema_create.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/schema/schema_create.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/conn/api_strerror.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/conn/api_strerror.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/os_common/os_fhandle.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/os_common/os_fhandle.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/conn/conn_sweep.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/conn/conn_sweep.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/os_posix/os_sleep.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/os_posix/os_sleep.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/meta/meta_ckpt.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/meta/meta_ckpt.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/os_common/os_fstream.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/os_common/os_fstream.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/cursor/cur_bulk.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/cursor/cur_bulk.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/cursor/cur_hs.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/cursor/cur_hs.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/reconcile/rec_write.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/reconcile/rec_write.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/cursor/cur_std.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/cursor/cur_std.c
Install file: "src/third_party/wiredtiger/src/include/wiredtiger_ext.h" as "build/59f4f0dd/third_party/wiredtiger/wiredtiger_ext.h"
gcc -o build/59f4f0dd/third_party/wiredtiger/ext/compressors/zlib/zlib_compress.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/ext/compressors/zlib/zlib_compress.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_discard.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/btree/bt_discard.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/cursor/cur_join.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/cursor/cur_join.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/cursor/cur_ds.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/cursor/cur_ds.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_page.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/btree/bt_page.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/conn/conn_ckpt.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/conn/conn_ckpt.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/bloom/bloom.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/bloom/bloom.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/block/block_session.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/block/block_session.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_import.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/btree/bt_import.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/cursor/cur_metadata.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/cursor/cur_metadata.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/tiered/tiered_config.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/tiered/tiered_config.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/schema/schema_rename.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/schema/schema_rename.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/btree/row_modify.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/btree/row_modify.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/log/log_sys.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/log/log_sys.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/config/test_config.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/config/test_config.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_vrfy_dsk.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/btree/bt_vrfy_dsk.c
gcc -o build/59f4f0dd/third_party/wiredtiger/ext/compressors/zstd/zstd_compress.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/ext/compressors/zstd/zstd_compress.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_slvg.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/btree/bt_slvg.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/os_common/os_abort.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/os_common/os_abort.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/meta/meta_table.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/meta/meta_table.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/txn/txn_rollback_to_stable.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/txn/txn_rollback_to_stable.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/txn/txn.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/txn/txn.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/reconcile/rec_row.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/reconcile/rec_row.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_ret.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/btree/bt_ret.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/reconcile/rec_child.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/reconcile/rec_child.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_misc.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/btree/bt_misc.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/log/log_slot.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/log/log_slot.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/config/config_collapse.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/config/config_collapse.c
gcc -o build/59f4f0dd/third_party/wiredtiger/ext/compressors/snappy/snappy_compress.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/ext/compressors/snappy/snappy_compress.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/os_common/os_fstream_stdio.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/os_common/os_fstream_stdio.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/block/block_open.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/block/block_open.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/schema/schema_worker.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/schema/schema_worker.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/lsm/lsm_cursor_bulk.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/lsm/lsm_cursor_bulk.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/conn/conn_open.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/conn/conn_open.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_handle.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/btree/bt_handle.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/lsm/lsm_worker.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/lsm/lsm_worker.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/history/hs_rec.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/history/hs_rec.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/tiered/tiered_handle.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/tiered/tiered_handle.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/tiered/tiered_opener.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/tiered/tiered_opener.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/schema/schema_drop.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/schema/schema_drop.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_ovfl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/btree/bt_ovfl.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/conn/conn_capacity.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/conn/conn_capacity.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/history/hs_conn.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/history/hs_conn.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/lsm/lsm_manager.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/lsm/lsm_manager.c
gcc -o build/59f4f0dd/third_party/wiredtiger/src/cursor/cur_backup.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/59f4f0dd/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/59f4f0dd/third_party/wiredtiger/build_netbsd -Isrc/third_party/wiredtiger/build_netbsd src/third_party/wiredtiger/src/cursor/cur_backup.c
c++ -o build/59f4f0dd/mongo/db/commands/kill_op_cmd_base.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/kill_op_cmd_base.cpp
c++ -o build/59f4f0dd/mongo/db/commands/killcursors_common.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/killcursors_common.cpp
ar rcsTD build/59f4f0dd/mongo/db/pipeline/libdocument_path_support.a build/59f4f0dd/mongo/db/pipeline/document_path_support.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/pipeline/libdocument_path_support.a
c++ -o build/59f4f0dd/mongo/s/client/shard.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/client/shard.cpp
c++ -o build/59f4f0dd/mongo/db/repl/collection_bulk_loader_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/collection_bulk_loader_impl.cpp
c++ -o build/59f4f0dd/mongo/db/stats/lock_server_status_section.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/stats/lock_server_status_section.cpp
c++ -o build/59f4f0dd/third_party/shim_timelib.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/shim_timelib.cpp
ar rcsTD build/59f4f0dd/third_party/libshim_timelib.a build/59f4f0dd/third_party/shim_timelib.o
Skipping ranlib for thin archive build/59f4f0dd/third_party/libshim_timelib.a
c++ -o build/59f4f0dd/mongo/db/catalog/throttle_cursor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/throttle_cursor.cpp
c++ -o build/59f4f0dd/third_party/fmt/dist/src/format.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-error=unused-result -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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/fmt/dist/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/third_party/fmt/dist/src/format.cc
Using tempfile /tmp/tmpmowncytp.lnk for command line:
ar rcsTD build/59f4f0dd/third_party/wiredtiger/libwiredtiger.a build/59f4f0dd/third_party/wiredtiger/src/block/block_addr.o build/59f4f0dd/third_party/wiredtiger/src/block/block_ckpt.o build/59f4f0dd/third_party/wiredtiger/src/block/block_ckpt_scan.o build/59f4f0dd/third_party/wiredtiger/src/block/block_compact.o build/59f4f0dd/third_party/wiredtiger/src/block/block_ext.o build/59f4f0dd/third_party/wiredtiger/src/block/block_map.o build/59f4f0dd/third_party/wiredtiger/src/block/block_mgr.o build/59f4f0dd/third_party/wiredtiger/src/block/block_open.o build/59f4f0dd/third_party/wiredtiger/src/block/block_read.o build/59f4f0dd/third_party/wiredtiger/src/block/block_session.o build/59f4f0dd/third_party/wiredtiger/src/block/block_slvg.o build/59f4f0dd/third_party/wiredtiger/src/block/block_tiered.o build/59f4f0dd/third_party/wiredtiger/src/block/block_vrfy.o build/59f4f0dd/third_party/wiredtiger/src/block/block_write.o build/59f4f0dd/third_party/wiredtiger/src/bloom/bloom.o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_compact.o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_curnext.o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_curprev.o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_cursor.o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_debug.o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_delete.o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_discard.o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_handle.o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_huffman.o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_import.o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_io.o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_misc.o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_ovfl.o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_page.o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_random.o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_read.o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_ret.o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_slvg.o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_split.o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_stat.o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_sync.o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_upgrade.o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_vrfy.o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_vrfy_dsk.o build/59f4f0dd/third_party/wiredtiger/src/btree/bt_walk.o build/59f4f0dd/third_party/wiredtiger/src/btree/col_modify.o build/59f4f0dd/third_party/wiredtiger/src/btree/col_srch.o build/59f4f0dd/third_party/wiredtiger/src/btree/row_key.o build/59f4f0dd/third_party/wiredtiger/src/btree/row_modify.o build/59f4f0dd/third_party/wiredtiger/src/btree/row_srch.o build/59f4f0dd/third_party/wiredtiger/src/config/config.o build/59f4f0dd/third_party/wiredtiger/src/config/config_api.o build/59f4f0dd/third_party/wiredtiger/src/config/config_check.o build/59f4f0dd/third_party/wiredtiger/src/config/config_collapse.o build/59f4f0dd/third_party/wiredtiger/src/config/config_def.o build/59f4f0dd/third_party/wiredtiger/src/config/config_ext.o build/59f4f0dd/third_party/wiredtiger/src/config/test_config.o build/59f4f0dd/third_party/wiredtiger/src/conn/api_calc_modify.o build/59f4f0dd/third_party/wiredtiger/src/conn/api_strerror.o build/59f4f0dd/third_party/wiredtiger/src/conn/api_version.o build/59f4f0dd/third_party/wiredtiger/src/conn/conn_api.o build/59f4f0dd/third_party/wiredtiger/src/conn/conn_cache.o build/59f4f0dd/third_party/wiredtiger/src/conn/conn_cache_pool.o build/59f4f0dd/third_party/wiredtiger/src/conn/conn_capacity.o build/59f4f0dd/third_party/wiredtiger/src/conn/conn_ckpt.o build/59f4f0dd/third_party/wiredtiger/src/conn/conn_dhandle.o build/59f4f0dd/third_party/wiredtiger/src/conn/conn_handle.o build/59f4f0dd/third_party/wiredtiger/src/conn/conn_log.o build/59f4f0dd/third_party/wiredtiger/src/conn/conn_open.o build/59f4f0dd/third_party/wiredtiger/src/conn/conn_reconfig.o build/59f4f0dd/third_party/wiredtiger/src/conn/conn_stat.o build/59f4f0dd/third_party/wiredtiger/src/conn/conn_sweep.o build/59f4f0dd/third_party/wiredtiger/src/conn/conn_tiered.o build/59f4f0dd/third_party/wiredtiger/src/cursor/cur_backup.o build/59f4f0dd/third_party/wiredtiger/src/cursor/cur_backup_incr.o build/59f4f0dd/third_party/wiredtiger/src/cursor/cur_bulk.o build/59f4f0dd/third_party/wiredtiger/src/cursor/cur_config.o build/59f4f0dd/third_party/wiredtiger/src/cursor/cur_ds.o build/59f4f0dd/third_party/wiredtiger/src/cursor/cur_dump.o build/59f4f0dd/third_party/wiredtiger/src/cursor/cur_file.o build/59f4f0dd/third_party/wiredtiger/src/cursor/cur_hs.o build/59f4f0dd/third_party/wiredtiger/src/cursor/cur_index.o build/59f4f0dd/third_party/wiredtiger/src/cursor/cur_join.o build/59f4f0dd/third_party/wiredtiger/src/cursor/cur_json.o build/59f4f0dd/third_party/wiredtiger/src/cursor/cur_log.o build/59f4f0dd/third_party/wiredtiger/src/cursor/cur_metadata.o build/59f4f0dd/third_party/wiredtiger/src/cursor/cur_stat.o build/59f4f0dd/third_party/wiredtiger/src/cursor/cur_std.o build/59f4f0dd/third_party/wiredtiger/src/cursor/cur_table.o build/59f4f0dd/third_party/wiredtiger/src/evict/evict_file.o build/59f4f0dd/third_party/wiredtiger/src/evict/evict_lru.o build/59f4f0dd/third_party/wiredtiger/src/evict/evict_page.o build/59f4f0dd/third_party/wiredtiger/src/evict/evict_stat.o build/59f4f0dd/third_party/wiredtiger/src/history/hs_conn.o build/59f4f0dd/third_party/wiredtiger/src/history/hs_cursor.o build/59f4f0dd/third_party/wiredtiger/src/history/hs_verify.o build/59f4f0dd/third_party/wiredtiger/src/history/hs_rec.o build/59f4f0dd/third_party/wiredtiger/src/log/log.o build/59f4f0dd/third_party/wiredtiger/src/log/log_auto.o build/59f4f0dd/third_party/wiredtiger/src/log/log_slot.o build/59f4f0dd/third_party/wiredtiger/src/log/log_sys.o build/59f4f0dd/third_party/wiredtiger/src/lsm/lsm_cursor.o build/59f4f0dd/third_party/wiredtiger/src/lsm/lsm_cursor_bulk.o build/59f4f0dd/third_party/wiredtiger/src/lsm/lsm_manager.o build/59f4f0dd/third_party/wiredtiger/src/lsm/lsm_merge.o build/59f4f0dd/third_party/wiredtiger/src/lsm/lsm_meta.o build/59f4f0dd/third_party/wiredtiger/src/lsm/lsm_stat.o build/59f4f0dd/third_party/wiredtiger/src/lsm/lsm_tree.o build/59f4f0dd/third_party/wiredtiger/src/lsm/lsm_work_unit.o build/59f4f0dd/third_party/wiredtiger/src/lsm/lsm_worker.o build/59f4f0dd/third_party/wiredtiger/src/meta/meta_apply.o build/59f4f0dd/third_party/wiredtiger/src/meta/meta_ckpt.o build/59f4f0dd/third_party/wiredtiger/src/meta/meta_ext.o build/59f4f0dd/third_party/wiredtiger/src/meta/meta_table.o build/59f4f0dd/third_party/wiredtiger/src/meta/meta_track.o build/59f4f0dd/third_party/wiredtiger/src/meta/meta_turtle.o build/59f4f0dd/third_party/wiredtiger/src/optrack/optrack.o build/59f4f0dd/third_party/wiredtiger/src/os_common/filename.o build/59f4f0dd/third_party/wiredtiger/src/os_common/os_abort.o build/59f4f0dd/third_party/wiredtiger/src/os_common/os_alloc.o build/59f4f0dd/third_party/wiredtiger/src/os_common/os_errno.o build/59f4f0dd/third_party/wiredtiger/src/os_common/os_fhandle.o build/59f4f0dd/third_party/wiredtiger/src/os_common/os_fs_inmemory.o build/59f4f0dd/third_party/wiredtiger/src/os_common/os_fstream.o build/59f4f0dd/third_party/wiredtiger/src/os_common/os_fstream_stdio.o build/59f4f0dd/third_party/wiredtiger/src/os_common/os_getopt.o build/59f4f0dd/third_party/wiredtiger/src/os_common/os_strtouq.o build/59f4f0dd/third_party/wiredtiger/src/os_posix/os_dir.o build/59f4f0dd/third_party/wiredtiger/src/os_posix/os_dlopen.o build/59f4f0dd/third_party/wiredtiger/src/os_posix/os_fallocate.o build/59f4f0dd/third_party/wiredtiger/src/os_posix/os_fs.o build/59f4f0dd/third_party/wiredtiger/src/os_posix/os_getenv.o build/59f4f0dd/third_party/wiredtiger/src/os_posix/os_map.o build/59f4f0dd/third_party/wiredtiger/src/os_posix/os_mtx_cond.o build/59f4f0dd/third_party/wiredtiger/src/os_posix/os_once.o build/59f4f0dd/third_party/wiredtiger/src/os_posix/os_pagesize.o build/59f4f0dd/third_party/wiredtiger/src/os_posix/os_path.o build/59f4f0dd/third_party/wiredtiger/src/os_posix/os_priv.o build/59f4f0dd/third_party/wiredtiger/src/os_posix/os_setvbuf.o build/59f4f0dd/third_party/wiredtiger/src/os_posix/os_sleep.o build/59f4f0dd/third_party/wiredtiger/src/os_posix/os_snprintf.o build/59f4f0dd/third_party/wiredtiger/src/os_posix/os_thread.o build/59f4f0dd/third_party/wiredtiger/src/os_posix/os_time.o build/59f4f0dd/third_party/wiredtiger/src/os_posix/os_yield.o build/59f4f0dd/third_party/wiredtiger/src/packing/pack_api.o build/59f4f0dd/third_party/wiredtiger/src/packing/pack_impl.o build/59f4f0dd/third_party/wiredtiger/src/packing/pack_stream.o build/59f4f0dd/third_party/wiredtiger/src/reconcile/rec_child.o build/59f4f0dd/third_party/wiredtiger/src/reconcile/rec_col.o build/59f4f0dd/third_party/wiredtiger/src/reconcile/rec_dictionary.o build/59f4f0dd/third_party/wiredtiger/src/reconcile/rec_row.o build/59f4f0dd/third_party/wiredtiger/src/reconcile/rec_track.o build/59f4f0dd/third_party/wiredtiger/src/reconcile/rec_visibility.o build/59f4f0dd/third_party/wiredtiger/src/reconcile/rec_write.o build/59f4f0dd/third_party/wiredtiger/src/schema/schema_alter.o build/59f4f0dd/third_party/wiredtiger/src/schema/schema_create.o build/59f4f0dd/third_party/wiredtiger/src/schema/schema_drop.o build/59f4f0dd/third_party/wiredtiger/src/schema/schema_list.o build/59f4f0dd/third_party/wiredtiger/src/schema/schema_open.o build/59f4f0dd/third_party/wiredtiger/src/schema/schema_plan.o build/59f4f0dd/third_party/wiredtiger/src/schema/schema_project.o build/59f4f0dd/third_party/wiredtiger/src/schema/schema_rename.o build/59f4f0dd/third_party/wiredtiger/src/schema/schema_stat.o build/59f4f0dd/third_party/wiredtiger/src/schema/schema_truncate.o build/59f4f0dd/third_party/wiredtiger/src/schema/schema_util.o build/59f4f0dd/third_party/wiredtiger/src/schema/schema_worker.o build/59f4f0dd/third_party/wiredtiger/src/session/session_api.o build/59f4f0dd/third_party/wiredtiger/src/session/session_compact.o build/59f4f0dd/third_party/wiredtiger/src/session/session_dhandle.o build/59f4f0dd/third_party/wiredtiger/src/support/cond_auto.o build/59f4f0dd/third_party/wiredtiger/src/support/crypto.o build/59f4f0dd/third_party/wiredtiger/src/support/err.o build/59f4f0dd/third_party/wiredtiger/src/support/generation.o build/59f4f0dd/third_party/wiredtiger/src/support/global.o build/59f4f0dd/third_party/wiredtiger/src/support/hash_city.o build/59f4f0dd/third_party/wiredtiger/src/support/hash_fnv.o build/59f4f0dd/third_party/wiredtiger/src/support/hazard.o build/59f4f0dd/third_party/wiredtiger/src/support/hex.o build/59f4f0dd/third_party/wiredtiger/src/support/huffman.o build/59f4f0dd/third_party/wiredtiger/src/support/lock_ext.o build/59f4f0dd/third_party/wiredtiger/src/support/modify.o build/59f4f0dd/third_party/wiredtiger/src/support/mtx_rw.o build/59f4f0dd/third_party/wiredtiger/src/support/pow.o build/59f4f0dd/third_party/wiredtiger/src/support/rand.o build/59f4f0dd/third_party/wiredtiger/src/support/scratch.o build/59f4f0dd/third_party/wiredtiger/src/support/stat.o build/59f4f0dd/third_party/wiredtiger/src/support/thread_group.o build/59f4f0dd/third_party/wiredtiger/src/support/timestamp.o build/59f4f0dd/third_party/wiredtiger/src/support/update_vector.o build/59f4f0dd/third_party/wiredtiger/src/tiered/tiered_config.o build/59f4f0dd/third_party/wiredtiger/src/tiered/tiered_handle.o build/59f4f0dd/third_party/wiredtiger/src/tiered/tiered_opener.o build/59f4f0dd/third_party/wiredtiger/src/tiered/tiered_work.o build/59f4f0dd/third_party/wiredtiger/src/txn/txn.o build/59f4f0dd/third_party/wiredtiger/src/txn/txn_ckpt.o build/59f4f0dd/third_party/wiredtiger/src/txn/txn_ext.o build/59f4f0dd/third_party/wiredtiger/src/txn/txn_log.o build/59f4f0dd/third_party/wiredtiger/src/txn/txn_recover.o build/59f4f0dd/third_party/wiredtiger/src/txn/txn_rollback_to_stable.o build/59f4f0dd/third_party/wiredtiger/src/txn/txn_timestamp.o build/59f4f0dd/third_party/wiredtiger/ext/compressors/zlib/zlib_compress.o build/59f4f0dd/third_party/wiredtiger/ext/compressors/snappy/snappy_compress.o build/59f4f0dd/third_party/wiredtiger/ext/compressors/zstd/zstd_compress.o
ar @/tmp/tmpmowncytp.lnk
Skipping ranlib for thin archive build/59f4f0dd/third_party/wiredtiger/libwiredtiger.a
c++ -o build/59f4f0dd/mongo/db/pipeline/granularity_rounder.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/granularity_rounder.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/killcursors_common.h:30,
                 from src/mongo/db/commands/killcursors_common.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/commands/server_status.h:32,
                 from src/mongo/db/stats/lock_server_status_section.cpp:35:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/killcursors_common.h:30,
                 from src/mongo/db/commands/killcursors_common.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/killcursors_common.h:30,
                 from src/mongo/db/commands/killcursors_common.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/stats/lock_server_status_section.cpp:35:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/killcursors_common.h:30,
                 from src/mongo/db/commands/killcursors_common.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
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/kill_op_cmd_base.h:30,
                 from src/mongo/db/commands/kill_op_cmd_base.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/stats/lock_server_status_section.cpp:35:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/server_status.h:32,
                 from src/mongo/db/stats/lock_server_status_section.cpp:35:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/collection_bulk_loader_impl.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/collection_bulk_loader_impl.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/catalog/throttle_cursor.cpp:35:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/catalog/throttle_cursor.cpp:35:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/kill_op_cmd_base.h:30,
                 from src/mongo/db/commands/kill_op_cmd_base.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
In file included from src/mongo/db/pipeline/expression_context.h:44,
                 from src/mongo/db/pipeline/granularity_rounder.h:38,
                 from src/mongo/db/pipeline/granularity_rounder.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/kill_op_cmd_base.h:30,
                 from src/mongo/db/commands/kill_op_cmd_base.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/catalog/collection.h:48,
                 from src/mongo/db/catalog/collection_catalog.h:36,
                 from src/mongo/db/curop.h:35,
                 from src/mongo/db/catalog/throttle_cursor.cpp:35:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_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/kill_op_cmd_base.h:30,
                 from src/mongo/db/commands/kill_op_cmd_base.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/collection_bulk_loader_impl.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/collection_bulk_loader_impl.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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: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/catalog/throttle_cursor.cpp:35:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/audit.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/audit.cpp
c++ -o build/59f4f0dd/mongo/db/create_indexes_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/create_indexes_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/rpc/write_concern_error_detail.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/rpc/write_concern_error_detail.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/scripting/mozjs/dbpointer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/dbpointer.cpp
c++ -o build/59f4f0dd/mongo/db/storage/storage_parameters_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/storage/storage_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 build/59f4f0dd/mongo/db/create_indexes_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/create_indexes_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/create_indexes_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/create_indexes_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/commands/libkill_common.a build/59f4f0dd/mongo/db/commands/killcursors_common.o build/59f4f0dd/mongo/db/commands/kill_op_cmd_base.o build/59f4f0dd/mongo/db/commands/kill_operations_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/commands/libkill_common.a
c++ -o build/59f4f0dd/mongo/client/sasl_plain_client_conversation.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/sasl_plain_client_conversation.cpp
c++ -o build/59f4f0dd/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_record_store.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_record_store.cpp
ar rcsTD build/59f4f0dd/third_party/libshim_allocator.a build/59f4f0dd/third_party/shim_allocator.o
Skipping ranlib for thin archive build/59f4f0dd/third_party/libshim_allocator.a
c++ -o build/59f4f0dd/mongo/s/chunk_manager.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/chunk_manager.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/59f4f0dd/mongo/db/storage/storage_parameters_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/s/chunk.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/chunk.cpp
c++ -o build/59f4f0dd/mongo/s/document_key.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/document_key.cpp
c++ -o build/59f4f0dd/mongo/db/catalog/create_collection.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/create_collection.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/59f4f0dd/mongo/db/storage/storage_parameters_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/storage/storage_parameters_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/storage/storage_parameters_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/catalog/capped_utils.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/capped_utils.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/s/chunk_manager.cpp:40:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/catalog/list_indexes.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/list_indexes.cpp
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/chunk_manager.cpp:40:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/query/index_bounds_builder.h:34,
                 from src/mongo/s/chunk_manager.cpp:42:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/query/index_bounds_builder.h:34,
                 from src/mongo/s/chunk_manager.cpp:42:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/catalog/drop_collection.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/drop_collection.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/catalog/create_collection.h:34,
                 from src/mongo/db/catalog/capped_utils.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/capped_utils.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/storage/libstorage_options.a build/59f4f0dd/mongo/db/storage/storage_options.o build/59f4f0dd/mongo/db/storage/storage_parameters_gen.o
ar rcsTD build/59f4f0dd/mongo/db/repl/libroll_back_local_operations.a build/59f4f0dd/mongo/db/repl/roll_back_local_operations.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/libstorage_options.a
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libroll_back_local_operations.a
c++ -o build/59f4f0dd/mongo/db/auth/security_file.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/security_file.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/capped_utils.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/scripting/mozjs/status.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/status.cpp
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/capped_utils.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/client/replica_set_monitor_server_parameters_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/client/replica_set_monitor_server_parameters_gen.cpp
c++ -o build/59f4f0dd/mongo/db/logical_session_cache_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/logical_session_cache_impl.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/catalog/list_indexes.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/catalog/list_indexes.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/uncommitted_collections.h:37,
                 from src/mongo/db/catalog/drop_collection.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/uncommitted_collections.h:37,
                 from src/mongo/db/catalog/drop_collection.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/catalog/list_indexes.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/catalog/list_indexes.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/uncommitted_collections.h:37,
                 from src/mongo/db/catalog/drop_collection.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/third_party/mozjs-60/include/jspubtd.h:17,
                 from src/third_party/mozjs-60/include/jsapi.h:26,
                 from src/mongo/scripting/mozjs/wraptype.h:33,
                 from src/mongo/scripting/mozjs/status.h:32,
                 from src/mongo/scripting/mozjs/status.cpp:32:
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 = 1]':
src/third_party/mozjs-60/include/jsapi.h:85:30:   required from 'JS::AutoValueArray<N>::AutoValueArray(JSContext*) [with long unsigned int N = 1]'
src/mongo/scripting/mozjs/status.cpp:62: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/include/js/CallArgs.h:74,
                 from src/third_party/mozjs-60/include/jsapi.h:29,
                 from src/mongo/scripting/mozjs/wraptype.h:33,
                 from src/mongo/scripting/mozjs/status.h:32,
                 from src/mongo/scripting/mozjs/status.cpp:32:
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/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/uncommitted_collections.h:37,
                 from src/mongo/db/catalog/drop_collection.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/client/replica_set_monitor_server_parameters_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/pipeline/process_interface/mongo_process_interface.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/process_interface/mongo_process_interface.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/59f4f0dd/mongo/client/replica_set_monitor_server_parameters_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/s/libsharding_routing_table.a build/59f4f0dd/mongo/s/chunk.o build/59f4f0dd/mongo/s/chunk_manager.o build/59f4f0dd/mongo/s/document_key.o build/59f4f0dd/mongo/s/shard_key_pattern.o
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/client/replica_set_monitor_server_parameters_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/libsharding_routing_table.a
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/bson/libdotted_path_support.a build/59f4f0dd/mongo/db/bson/dotted_path_support.o
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/bson/libdotted_path_support.a
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/59f4f0dd/mongo/client/replica_set_monitor_server_parameters_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/util/icu_init_stub.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/icu_init_stub.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/s/client/shard_local.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/client/shard_local.cpp
ar rcsTD build/59f4f0dd/mongo/util/libicu_init.a build/59f4f0dd/mongo/util/icu_init_stub.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/libicu_init.a
c++ -o build/59f4f0dd/mongo/db/s/add_shard_util.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/add_shard_util.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/scripting/utils.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/utils.cpp
c++ -o build/59f4f0dd/mongo/db/matcher/expression_parser.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/expression_parser.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/matcher/expression_tree.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/expression_tree.cpp
ar rcsTD build/59f4f0dd/mongo/db/pipeline/process_interface/libmongo_process_interface.a build/59f4f0dd/mongo/db/pipeline/process_interface/mongo_process_interface.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/pipeline/process_interface/libmongo_process_interface.a
c++ -o build/59f4f0dd/mongo/db/matcher/schema/json_schema_parser.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/schema/json_schema_parser.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_raii.h:33,
                 from src/mongo/s/client/shard_local.cpp:42:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_raii.h:33,
                 from src/mongo/s/client/shard_local.cpp:42:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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_raii.h:33,
                 from src/mongo/s/client/shard_local.cpp:42:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_allowed_properties.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/schema/expression_internal_schema_allowed_properties.cpp
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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/s/client/shard_local.cpp:42:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/catalog/libcatalog_helpers.a build/59f4f0dd/mongo/db/catalog/capped_utils.o build/59f4f0dd/mongo/db/catalog/coll_mod.o build/59f4f0dd/mongo/db/catalog/collection_compact.o build/59f4f0dd/mongo/db/catalog/create_collection.o build/59f4f0dd/mongo/db/catalog/drop_collection.o build/59f4f0dd/mongo/db/catalog/drop_database.o build/59f4f0dd/mongo/db/catalog/drop_indexes.o build/59f4f0dd/mongo/db/catalog/rename_collection.o build/59f4f0dd/mongo/db/catalog/list_indexes.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/catalog/libcatalog_helpers.a
c++ -o build/59f4f0dd/mongo/db/matcher/expression_text_base.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/expression_text_base.cpp
In file included from src/mongo/db/matcher/expression_parser.h:37,
                 from src/mongo/db/matcher/expression_parser.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/matcher/expression_parser.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_parser.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_parser.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/matcher/matcher_type_set.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/matcher_type_set.cpp
In file included from src/mongo/db/matcher/expression_parser.cpp:43:
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchObjectMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:85:25: warning: redundant move in return statement [-Wredundant-move]
   85 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:85:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchValueMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:140:25: warning: redundant move in return statement [-Wredundant-move]
  140 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:140:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_tree.cpp:30:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::SizeMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:177:25: warning: redundant move in return statement [-Wredundant-move]
  177 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:177:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_text_base.h:32,
                 from src/mongo/db/matcher/expression_tree.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.cpp: In lambda function:
src/mongo/db/matcher/expression_tree.cpp:154:33: warning: redundant move in return statement [-Wredundant-move]
  154 |                 return std::move(simplifiedExpression);
      |                        ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_tree.cpp:154:33: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:37,
                 from src/mongo/db/matcher/schema/json_schema_parser.h:33,
                 from src/mongo/db/matcher/schema/json_schema_parser.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/matcher/expression_array.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/expression_array.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.cpp:55:
src/mongo/db/matcher/schema/expression_internal_schema_fmod.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaFmodMatchExpression::shallowClone() const':
src/mongo/db/matcher/schema/expression_internal_schema_fmod.h:50:25: warning: redundant move in return statement [-Wredundant-move]
   50 |         return std::move(m);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/schema/expression_internal_schema_fmod.h:50:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.cpp:57:
src/mongo/db/matcher/schema/expression_internal_schema_max_items.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaMaxItemsMatchExpression::shallowClone() const':
src/mongo/db/matcher/schema/expression_internal_schema_max_items.h:57:25: warning: redundant move in return statement [-Wredundant-move]
   57 |         return std::move(maxItems);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/matcher/schema/expression_internal_schema_max_items.h:57:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.cpp:58:
src/mongo/db/matcher/schema/expression_internal_schema_max_length.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaMaxLengthMatchExpression::shallowClone() const':
src/mongo/db/matcher/schema/expression_internal_schema_max_length.h:55:25: warning: redundant move in return statement [-Wredundant-move]
   55 |         return std::move(maxLen);
      |                ~~~~~~~~~^~~~~~~~
src/mongo/db/matcher/schema/expression_internal_schema_max_length.h:55:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/matcher/schema/json_schema_parser.h:33,
                 from src/mongo/db/matcher/schema/json_schema_parser.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_parser.cpp:59:
src/mongo/db/matcher/schema/expression_internal_schema_max_properties.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaMaxPropertiesMatchExpression::shallowClone() const':
src/mongo/db/matcher/schema/expression_internal_schema_max_properties.h:67:25: warning: redundant move in return statement [-Wredundant-move]
   67 |         return std::move(maxProperties);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~
src/mongo/db/matcher/schema/expression_internal_schema_max_properties.h:67:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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.cpp:60:
src/mongo/db/matcher/schema/expression_internal_schema_min_items.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaMinItemsMatchExpression::shallowClone() const':
src/mongo/db/matcher/schema/expression_internal_schema_min_items.h:57:25: warning: redundant move in return statement [-Wredundant-move]
   57 |         return std::move(minItems);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/matcher/schema/expression_internal_schema_min_items.h:57:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
In file included from src/mongo/db/matcher/expression_parser.cpp:61:
src/mongo/db/matcher/schema/expression_internal_schema_min_length.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaMinLengthMatchExpression::shallowClone() const':
src/mongo/db/matcher/schema/expression_internal_schema_min_length.h:55:25: warning: redundant move in return statement [-Wredundant-move]
   55 |         return std::move(minLen);
      |                ~~~~~~~~~^~~~~~~~
src/mongo/db/matcher/schema/expression_internal_schema_min_length.h:55:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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.cpp:62:
src/mongo/db/matcher/schema/expression_internal_schema_min_properties.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaMinPropertiesMatchExpression::shallowClone() const':
src/mongo/db/matcher/schema/expression_internal_schema_min_properties.h:67:25: warning: redundant move in return statement [-Wredundant-move]
   67 |         return std::move(minProperties);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~
src/mongo/db/matcher/schema/expression_internal_schema_min_properties.h:67:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:39,
                 from src/mongo/db/matcher/schema/json_schema_parser.h:33,
                 from src/mongo/db/matcher/schema/json_schema_parser.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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.cpp:66:
src/mongo/db/matcher/schema/expression_internal_schema_xor.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaXorMatchExpression::shallowClone() const':
src/mongo/db/matcher/schema/expression_internal_schema_xor.h:58:25: warning: redundant move in return statement [-Wredundant-move]
   58 |         return std::move(xorCopy);
      |                ~~~~~~~~~^~~~~~~~~
src/mongo/db/matcher/schema/expression_internal_schema_xor.h:58: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::MatchExpression> 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::MatchExpression> 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
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/schema/json_schema_parser.h:33,
                 from src/mongo/db/matcher/schema/json_schema_parser.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_parser.cpp: In function 'mongo::StatusWith<std::vector<std::pair<mongo::InternalSchemaAllowedPropertiesMatchExpression::Pattern, std::unique_ptr<mongo::ExpressionWithPlaceholder> > > > mongo::{anonymous}::parsePatternProperties(mongo::BSONElement, mongo::StringData, const boost::intrusive_ptr<mongo::ExpressionContext>&, const mongo::ExtensionsCallback*, mongo::MatchExpressionParser::AllowedFeatureSet, mongo::DocumentParseLevel)':
src/mongo/db/matcher/expression_parser.cpp:943:21: warning: redundant move in return statement [-Wredundant-move]
  943 |     return std::move(patternProperties);
      |            ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_parser.cpp:943:21: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_parser.cpp: In function 'mongo::StatusWith<absl::flat_hash_set<mongo::StringData, mongo::StringMapHasher, mongo::StringMapEq> > mongo::{anonymous}::parseProperties(mongo::BSONElement)':
src/mongo/db/matcher/expression_parser.cpp:970:21: warning: redundant move in return statement [-Wredundant-move]
  970 |     return std::move(properties);
      |            ~~~~~~~~~^~~~~~~~~~~~
src/mongo/db/matcher/expression_parser.cpp:970:21: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/schema/expression_internal_schema_allowed_properties.h:39,
                 from src/mongo/db/matcher/schema/expression_internal_schema_allowed_properties.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/schema/expression_internal_schema_all_elem_match_from_index.h:35,
                 from src/mongo/db/matcher/schema/json_schema_parser.cpp:45:
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchObjectMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:85:25: warning: redundant move in return statement [-Wredundant-move]
   85 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:85:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchValueMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:140:25: warning: redundant move in return statement [-Wredundant-move]
  140 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:140:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::SizeMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:177:25: warning: redundant move in return statement [-Wredundant-move]
  177 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:177:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/schema/json_schema_parser.cpp:49:
src/mongo/db/matcher/schema/expression_internal_schema_fmod.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaFmodMatchExpression::shallowClone() const':
src/mongo/db/matcher/schema/expression_internal_schema_fmod.h:50:25: warning: redundant move in return statement [-Wredundant-move]
   50 |         return std::move(m);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/schema/expression_internal_schema_fmod.h:50:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/schema/json_schema_parser.cpp:51:
src/mongo/db/matcher/schema/expression_internal_schema_max_items.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaMaxItemsMatchExpression::shallowClone() const':
src/mongo/db/matcher/schema/expression_internal_schema_max_items.h:57:25: warning: redundant move in return statement [-Wredundant-move]
   57 |         return std::move(maxItems);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/matcher/schema/expression_internal_schema_max_items.h:57:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/schema/json_schema_parser.cpp:52:
src/mongo/db/matcher/schema/expression_internal_schema_max_length.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaMaxLengthMatchExpression::shallowClone() const':
src/mongo/db/matcher/schema/expression_internal_schema_max_length.h:55:25: warning: redundant move in return statement [-Wredundant-move]
   55 |         return std::move(maxLen);
      |                ~~~~~~~~~^~~~~~~~
src/mongo/db/matcher/schema/expression_internal_schema_max_length.h:55:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/schema/json_schema_parser.cpp:53:
src/mongo/db/matcher/schema/expression_internal_schema_max_properties.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaMaxPropertiesMatchExpression::shallowClone() const':
src/mongo/db/matcher/schema/expression_internal_schema_max_properties.h:67:25: warning: redundant move in return statement [-Wredundant-move]
   67 |         return std::move(maxProperties);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~
src/mongo/db/matcher/schema/expression_internal_schema_max_properties.h:67:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/schema/json_schema_parser.cpp:54:
src/mongo/db/matcher/schema/expression_internal_schema_min_items.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaMinItemsMatchExpression::shallowClone() const':
src/mongo/db/matcher/schema/expression_internal_schema_min_items.h:57:25: warning: redundant move in return statement [-Wredundant-move]
   57 |         return std::move(minItems);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/matcher/schema/expression_internal_schema_min_items.h:57:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/schema/json_schema_parser.cpp:55:
src/mongo/db/matcher/schema/expression_internal_schema_min_length.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaMinLengthMatchExpression::shallowClone() const':
src/mongo/db/matcher/schema/expression_internal_schema_min_length.h:55:25: warning: redundant move in return statement [-Wredundant-move]
   55 |         return std::move(minLen);
      |                ~~~~~~~~~^~~~~~~~
src/mongo/db/matcher/schema/expression_internal_schema_min_length.h:55:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/schema/json_schema_parser.cpp:56:
src/mongo/db/matcher/schema/expression_internal_schema_min_properties.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaMinPropertiesMatchExpression::shallowClone() const':
src/mongo/db/matcher/schema/expression_internal_schema_min_properties.h:67:25: warning: redundant move in return statement [-Wredundant-move]
   67 |         return std::move(minProperties);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~
src/mongo/db/matcher/schema/expression_internal_schema_min_properties.h:67:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/schema/json_schema_parser.cpp:60:
src/mongo/db/matcher/schema/expression_internal_schema_xor.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaXorMatchExpression::shallowClone() const':
src/mongo/db/matcher/schema/expression_internal_schema_xor.h:58:25: warning: redundant move in return statement [-Wredundant-move]
   58 |         return std::move(xorCopy);
      |                ~~~~~~~~~^~~~~~~~~
src/mongo/db/matcher/schema/expression_internal_schema_xor.h:58:25: note: remove 'std::move' call
src/mongo/db/matcher/schema/json_schema_parser.cpp: In function 'std::unique_ptr<mongo::MatchExpression> mongo::{anonymous}::makeRestriction(const mongo::MatcherTypeSet&, mongo::StringData, std::unique_ptr<mongo::MatchExpression>, mongo::InternalSchemaTypeExpression*)':
src/mongo/db/matcher/schema/json_schema_parser.cpp:154:21: warning: redundant move in return statement [-Wredundant-move]
  154 |     return std::move(orExpr);
      |            ~~~~~~~~~^~~~~~~~
src/mongo/db/matcher/schema/json_schema_parser.cpp:154:21: note: remove 'std::move' call
src/mongo/db/matcher/schema/json_schema_parser.cpp: In function 'mongo::StatusWith<absl::flat_hash_set<mongo::StringData, mongo::StringMapHasher, mongo::StringMapEq> > mongo::{anonymous}::parseRequired(mongo::BSONElement)':
src/mongo/db/matcher/schema/json_schema_parser.cpp:434:21: warning: redundant move in return statement [-Wredundant-move]
  434 |     return std::move(properties);
      |            ~~~~~~~~~^~~~~~~~~~~~
src/mongo/db/matcher/schema/json_schema_parser.cpp:434:21: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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:37,
                 from src/mongo/db/matcher/matcher_type_set.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_num_array_items.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/schema/expression_internal_schema_num_array_items.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/matcher/matcher_type_set.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/matcher_type_set.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/matcher_type_set.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_all_elem_match_from_index.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/schema/expression_internal_schema_all_elem_match_from_index.cpp
In file included from src/mongo/db/matcher/expression_array.cpp:30:
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchObjectMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:85:25: warning: redundant move in return statement [-Wredundant-move]
   85 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:85:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchValueMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:140:25: warning: redundant move in return statement [-Wredundant-move]
  140 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:140:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::SizeMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:177:25: warning: redundant move in return statement [-Wredundant-move]
  177 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:177:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/schema/expression_internal_schema_cond.h:33,
                 from src/mongo/db/matcher/expression_parser.cpp:53:
src/mongo/db/matcher/expression_arity.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::FixedArityMatchExpression<T, nargs>::shallowClone() const [with T = mongo::InternalSchemaCondMatchExpression; long unsigned int nargs = 3]':
src/mongo/db/matcher/expression_arity.h:118:38:   required from here
src/mongo/db/matcher/expression_arity.h:133:31: warning: redundant move in return statement [-Wredundant-move]
  133 |         return std::move(clone);
      |                               ^
src/mongo/db/matcher/expression_arity.h:133:31: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:39,
                 from src/mongo/db/matcher/expression_parser.cpp:32:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/schema/expression_internal_schema_cond.h:33,
                 from src/mongo/db/matcher/schema/json_schema_parser.cpp:47:
src/mongo/db/matcher/expression_arity.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::FixedArityMatchExpression<T, nargs>::shallowClone() const [with T = mongo::InternalSchemaCondMatchExpression; long unsigned int nargs = 3]':
src/mongo/db/matcher/expression_arity.h:118:38:   required from here
src/mongo/db/matcher/expression_arity.h:133:31: warning: redundant move in return statement [-Wredundant-move]
  133 |         return std::move(clone);
      |                               ^
src/mongo/db/matcher/expression_arity.h:133:31: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:39,
                 from src/mongo/db/matcher/schema/json_schema_parser.h:33,
                 from src/mongo/db/matcher/schema/json_schema_parser.cpp:34:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_unique_items.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/schema/expression_internal_schema_unique_items.cpp
ar rcsTD build/59f4f0dd/mongo/s/client/libshard_local.a build/59f4f0dd/mongo/s/client/shard_local.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/client/libshard_local.a
c++ -o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_str_length.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/schema/expression_internal_schema_str_length.cpp
In file included from src/mongo/db/matcher/expression_parser.h:39,
                 from src/mongo/db/matcher/matcher_type_set.cpp:34:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/matcher/expression.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/expression.cpp
In file included from src/mongo/db/matcher/schema/expression_internal_schema_num_array_items.h:35,
                 from src/mongo/db/matcher/schema/expression_internal_schema_num_array_items.cpp:32:
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchObjectMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:85:25: warning: redundant move in return statement [-Wredundant-move]
   85 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:85:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchValueMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:140:25: warning: redundant move in return statement [-Wredundant-move]
  140 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:140:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::SizeMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:177:25: warning: redundant move in return statement [-Wredundant-move]
  177 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:177:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/schema/expression_internal_schema_all_elem_match_from_index.h:35,
                 from src/mongo/db/matcher/schema/expression_internal_schema_all_elem_match_from_index.cpp:31:
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchObjectMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:85:25: warning: redundant move in return statement [-Wredundant-move]
   85 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:85:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchValueMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:140:25: warning: redundant move in return statement [-Wredundant-move]
  140 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:140:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::SizeMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:177:25: warning: redundant move in return statement [-Wredundant-move]
  177 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:177:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/matcher/matchable.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/matchable.cpp
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/schema/expression_internal_schema_all_elem_match_from_index.h:36,
                 from src/mongo/db/matcher/schema/expression_internal_schema_all_elem_match_from_index.cpp:31:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/schema/expression_internal_schema_all_elem_match_from_index.cpp: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaAllElemMatchFromIndexMatchExpression::shallowClone() const':
src/mongo/db/matcher/schema/expression_internal_schema_all_elem_match_from_index.cpp:55:21: warning: redundant move in return statement [-Wredundant-move]
   55 |     return std::move(clone);
      |            ~~~~~~~~~^~~~~~~
src/mongo/db/matcher/schema/expression_internal_schema_all_elem_match_from_index.cpp:55:21: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_root_doc_eq.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/schema/expression_internal_schema_root_doc_eq.cpp
In file included from src/mongo/db/matcher/schema/expression_internal_schema_str_length.h:35,
                 from src/mongo/db/matcher/schema/expression_internal_schema_str_length.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/matcher/expression_text_noop.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/expression_text_noop.cpp
c++ -o build/59f4f0dd/mongo/db/matcher/expression_with_placeholder.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/expression_with_placeholder.cpp
c++ -o build/59f4f0dd/mongo/db/matcher/expression_where_base.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/expression_where_base.cpp
c++ -o build/59f4f0dd/mongo/db/matcher/rewrite_expr.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/rewrite_expr.cpp
In file included from src/mongo/db/matcher/schema/expression_internal_schema_unique_items.h:36,
                 from src/mongo/db/matcher/schema/expression_internal_schema_unique_items.cpp:32:
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchObjectMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:85:25: warning: redundant move in return statement [-Wredundant-move]
   85 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:85:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchValueMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:140:25: warning: redundant move in return statement [-Wredundant-move]
  140 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:140:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::SizeMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:177:25: warning: redundant move in return statement [-Wredundant-move]
  177 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:177:25: note: remove 'std::move' call
src/mongo/db/matcher/schema/expression_internal_schema_unique_items.cpp: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaUniqueItemsMatchExpression::shallowClone() const':
src/mongo/db/matcher/schema/expression_internal_schema_unique_items.cpp:73:21: warning: redundant move in return statement [-Wredundant-move]
   73 |     return std::move(clone);
      |            ~~~~~~~~~^~~~~~~
src/mongo/db/matcher/schema/expression_internal_schema_unique_items.cpp:73:21: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/matcher/expression_where_noop.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/expression_where_noop.cpp
c++ -o build/59f4f0dd/mongo/db/matcher/matcher.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/matcher.cpp
src/mongo/db/matcher/schema/expression_internal_schema_root_doc_eq.cpp: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaRootDocEqMatchExpression::shallowClone() const':
src/mongo/db/matcher/schema/expression_internal_schema_root_doc_eq.cpp:78:21: warning: redundant move in return statement [-Wredundant-move]
   78 |     return std::move(clone);
      |            ~~~~~~~~~^~~~~~~
src/mongo/db/matcher/schema/expression_internal_schema_root_doc_eq.cpp:78:21: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/matcher/expression_expr.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/expression_expr.cpp
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_with_placeholder.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/matcher/schema/encrypt_schema_types.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/schema/encrypt_schema_types.cpp
In file included from src/mongo/db/matcher/expression_text_base.h:32,
                 from src/mongo/db/matcher/expression_text_noop.h:33,
                 from src/mongo/db/matcher/expression_text_noop.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:37,
                 from src/mongo/db/matcher/expression_with_placeholder.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_text_noop.cpp: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TextNoOpMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_text_noop.cpp:59:21: warning: redundant move in return statement [-Wredundant-move]
   59 |     return std::move(expr);
      |            ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_text_noop.cpp:59:21: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/matcher/expression_with_placeholder.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_with_placeholder.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/rewrite_expr.h:36,
                 from src/mongo/db/matcher/rewrite_expr.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/rewrite_expr.h:37,
                 from src/mongo/db/matcher/rewrite_expr.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/pipeline/expression.h:47,
                 from src/mongo/db/matcher/rewrite_expr.h:38,
                 from src/mongo/db/matcher/rewrite_expr.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/s/transaction_coordinator_metrics_observer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/transaction_coordinator_metrics_observer.cpp
src/mongo/db/matcher/expression_where_noop.cpp: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::WhereNoOpMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_where_noop.cpp:54:21: warning: redundant move in return statement [-Wredundant-move]
   54 |     return std::move(e);
      |            ~~~~~~~~~^~~
src/mongo/db/matcher/expression_where_noop.cpp:54:21: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:37,
                 from src/mongo/db/matcher/matcher.cpp:35:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/matcher/matcher.cpp:35:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/matcher.cpp:35:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/matcher.cpp:35:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/rewrite_expr.cpp: In member function 'std::unique_ptr<mongo::MatchExpression> mongo::RewriteExpr::_rewriteAndExpression(const boost::intrusive_ptr<mongo::ExpressionAnd>&)':
src/mongo/db/matcher/rewrite_expr.cpp:100:25: warning: redundant move in return statement [-Wredundant-move]
  100 |         return std::move(andMatch);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/matcher/rewrite_expr.cpp:100:25: note: remove 'std::move' call
src/mongo/db/matcher/rewrite_expr.cpp: In member function 'std::unique_ptr<mongo::MatchExpression> mongo::RewriteExpr::_rewriteOrExpression(const boost::intrusive_ptr<mongo::ExpressionOr>&)':
src/mongo/db/matcher/rewrite_expr.cpp:121:25: warning: redundant move in return statement [-Wredundant-move]
  121 |         return std::move(orMatch);
      |                ~~~~~~~~~^~~~~~~~~
src/mongo/db/matcher/rewrite_expr.cpp:121:25: note: remove 'std::move' call
src/mongo/db/matcher/rewrite_expr.cpp: In member function 'std::unique_ptr<mongo::MatchExpression> mongo::RewriteExpr::_buildComparisonMatchExpression(mongo::ExpressionCompare::CmpOp, mongo::BSONElement)':
src/mongo/db/matcher/rewrite_expr.cpp:169:21: warning: redundant move in return statement [-Wredundant-move]
  169 |     return std::move(eqMatchExpr);
      |            ~~~~~~~~~^~~~~~~~~~~~~
src/mongo/db/matcher/rewrite_expr.cpp:169:21: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/error_labels.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/error_labels.cpp
c++ -o build/59f4f0dd/mongo/db/repl/topology_version_observer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/topology_version_observer.cpp
c++ -o build/59f4f0dd/mongo/s/client/sharding_network_connection_hook.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/client/sharding_network_connection_hook.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_expr.h:36,
                 from src/mongo/db/matcher/expression_expr.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/rewrite_expr.h:36,
                 from src/mongo/db/matcher/expression_expr.h:37,
                 from src/mongo/db/matcher/expression_expr.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:39,
                 from src/mongo/db/matcher/matcher.cpp:35:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
In file included from src/mongo/db/pipeline/expression_context.h:44,
                 from src/mongo/db/pipeline/expression.h:47,
                 from src/mongo/db/matcher/rewrite_expr.h:38,
                 from src/mongo/db/matcher/expression_expr.h:37,
                 from src/mongo/db/matcher/expression_expr.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 src/mongo/db/commands/server_status.h:32,
                 from src/mongo/db/s/server_transaction_coordinators_metrics.h:32,
                 from src/mongo/db/s/transaction_coordinator_metrics_observer.h:32,
                 from src/mongo/db/s/transaction_coordinator_metrics_observer.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_expr.cpp: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExprMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_expr.cpp:118:21: warning: redundant move in return statement [-Wredundant-move]
  118 |     return std::move(clone);
      |            ~~~~~~~~~^~~~~~~
src/mongo/db/matcher/expression_expr.cpp:118:21: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/s/request_types/wait_for_fail_point_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/s/request_types/wait_for_fail_point_gen.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/commands/server_status.h:32,
                 from src/mongo/db/s/server_transaction_coordinators_metrics.h:32,
                 from src/mongo/db/s/transaction_coordinator_metrics_observer.h:32,
                 from src/mongo/db/s/transaction_coordinator_metrics_observer.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/bson/mutable/element.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/bson/mutable/element.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/server_transaction_coordinators_metrics.h:32,
                 from src/mongo/db/s/transaction_coordinator_metrics_observer.h:32,
                 from src/mongo/db/s/transaction_coordinator_metrics_observer.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/server_status.h:32,
                 from src/mongo/db/s/server_transaction_coordinators_metrics.h:32,
                 from src/mongo/db/s/transaction_coordinator_metrics_observer.h:32,
                 from src/mongo/db/s/transaction_coordinator_metrics_observer.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/retryable_writes_stats.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/retryable_writes_stats.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/error_labels.cpp:31:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/error_labels.cpp:31:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/error_labels.cpp:31:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/error_labels.cpp:31:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/scripting/mozjs/idwrapper.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/idwrapper.cpp
ar rcsTD build/59f4f0dd/mongo/bson/mutable/libmutable_bson.a build/59f4f0dd/mongo/bson/mutable/document.o build/59f4f0dd/mongo/bson/mutable/element.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/bson/mutable/libmutable_bson.a
c++ -o build/59f4f0dd/mongo/db/commands/txn_two_phase_commit_cmds_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/commands/txn_two_phase_commit_cmds_gen.cpp
c++ -o build/59f4f0dd/mongo/util/alarm_runner_background_thread.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/alarm_runner_background_thread.cpp
ar rcsTD build/59f4f0dd/mongo/db/matcher/libexpressions.a build/59f4f0dd/mongo/db/matcher/expression.o build/59f4f0dd/mongo/db/matcher/expression_algo.o build/59f4f0dd/mongo/db/matcher/expression_array.o build/59f4f0dd/mongo/db/matcher/expression_expr.o build/59f4f0dd/mongo/db/matcher/expression_geo.o build/59f4f0dd/mongo/db/matcher/expression_internal_expr_eq.o build/59f4f0dd/mongo/db/matcher/expression_leaf.o build/59f4f0dd/mongo/db/matcher/expression_parser.o build/59f4f0dd/mongo/db/matcher/expression_text_base.o build/59f4f0dd/mongo/db/matcher/expression_text_noop.o build/59f4f0dd/mongo/db/matcher/expression_tree.o build/59f4f0dd/mongo/db/matcher/expression_where_base.o build/59f4f0dd/mongo/db/matcher/expression_where_noop.o build/59f4f0dd/mongo/db/matcher/expression_with_placeholder.o build/59f4f0dd/mongo/db/matcher/extensions_callback.o build/59f4f0dd/mongo/db/matcher/extensions_callback_noop.o build/59f4f0dd/mongo/db/matcher/match_details.o build/59f4f0dd/mongo/db/matcher/matchable.o build/59f4f0dd/mongo/db/matcher/matcher.o build/59f4f0dd/mongo/db/matcher/matcher_type_set.o build/59f4f0dd/mongo/db/matcher/rewrite_expr.o build/59f4f0dd/mongo/db/matcher/schema/encrypt_schema_types.o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_all_elem_match_from_index.o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_allowed_properties.o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_cond.o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_eq.o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_fmod.o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_match_array_index.o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_num_array_items.o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_num_properties.o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_object_match.o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_root_doc_eq.o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_str_length.o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_unique_items.o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_xor.o build/59f4f0dd/mongo/db/matcher/schema/json_pointer.o build/59f4f0dd/mongo/db/matcher/schema/json_schema_parser.o build/59f4f0dd/mongo/db/matcher/schema/encrypt_schema_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/matcher/libexpressions.a
Generating build/59f4f0dd/mongo/db/repl/rollback_impl_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 build/59f4f0dd/mongo/s/request_types/wait_for_fail_point_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/repl/rollback_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/rollback_impl.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 build/59f4f0dd/mongo/s/request_types/wait_for_fail_point_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574: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/commands/server_status.h:32,
                 from src/mongo/db/retryable_writes_stats.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/s/request_types/wait_for_fail_point_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/s/request_types/wait_for_fail_point_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from src/mongo/db/commands/server_status.h:32,
                 from src/mongo/db/retryable_writes_stats.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/retryable_writes_stats.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/server_status.h:32,
                 from src/mongo/db/retryable_writes_stats.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_merge_modes_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/pipeline/document_source_merge_modes_gen.cpp
c++ -o build/59f4f0dd/mongo/scripting/mozjs/uri.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/uri.cpp
c++ -o build/59f4f0dd/mongo/scripting/mozjs/exception.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/exception.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/59f4f0dd/mongo/db/commands/txn_two_phase_commit_cmds_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 build/59f4f0dd/mongo/db/commands/txn_two_phase_commit_cmds_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/commands/txn_two_phase_commit_cmds_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/commands/txn_two_phase_commit_cmds_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/op_observer.h:35,
                 from src/mongo/db/repl/rollback_impl.h:35,
                 from src/mongo/db/repl/rollback_impl.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/liberror_labels.a build/59f4f0dd/mongo/db/error_labels.o
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/op_observer.h:35,
                 from src/mongo/db/repl/rollback_impl.h:35,
                 from src/mongo/db/repl/rollback_impl.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/liberror_labels.a
c++ -o build/59f4f0dd/mongo/scripting/mozjs/global.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/global.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/scripting/mozjs/oid.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/oid.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/59f4f0dd/mongo/db/pipeline/document_source_merge_modes_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/op_observer.h:35,
                 from src/mongo/db/repl/rollback_impl.h:35,
                 from src/mongo/db/repl/rollback_impl.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/op_observer.h:35,
                 from src/mongo/db/repl/rollback_impl.h:35,
                 from src/mongo/db/repl/rollback_impl.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from build/59f4f0dd/mongo/db/pipeline/document_source_merge_modes_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/scripting/mozjs/dbquery.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/dbquery.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/pipeline/document_source_merge_modes_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/pipeline/document_source_merge_modes_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/scripting/mozjs/maxkey.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/maxkey.cpp
c++ -o build/59f4f0dd/mongo/scripting/mozjs/engine_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/scripting/mozjs/engine_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/scripting/mozjs/jsthread.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/jsthread.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/scripting/mozjs/engine_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/scripting/mozjs/dbcollection.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/dbcollection.cpp
In file included from src/third_party/mozjs-60/include/jspubtd.h:17,
                 from src/third_party/mozjs-60/include/jsapi.h:26,
                 from src/mongo/scripting/mozjs/wraptype.h:33,
                 from src/mongo/scripting/mozjs/dbquery.h:32,
                 from src/mongo/scripting/mozjs/dbquery.cpp:32:
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 = 1]':
src/third_party/mozjs-60/include/jsapi.h:85:30:   required from 'JS::AutoValueArray<N>::AutoValueArray(JSContext*) [with long unsigned int N = 1]'
src/mongo/scripting/mozjs/dbquery.cpp:129:38:   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/include/js/CallArgs.h:74,
                 from src/third_party/mozjs-60/include/jsapi.h:29,
                 from src/mongo/scripting/mozjs/wraptype.h:33,
                 from src/mongo/scripting/mozjs/dbquery.h:32,
                 from src/mongo/scripting/mozjs/dbquery.cpp:32:
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/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/59f4f0dd/mongo/scripting/mozjs/engine_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/scripting/mozjs/engine_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/scripting/mozjs/code.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/code.cpp
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/scripting/mozjs/engine_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/scripting/mozjs/bindata.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/bindata.cpp
c++ -o build/59f4f0dd/mongo/scripting/mozjs/session.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/session.cpp
c++ -o build/59f4f0dd/mongo/scripting/mozjs/cursor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/cursor.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/scripting/mozjs/regexp.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/regexp.cpp
c++ -o build/59f4f0dd/mongo/scripting/mozjs/object.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/object.cpp
c++ -o build/59f4f0dd/mongo/scripting/mozjs/nativefunction.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/nativefunction.cpp
In file included from src/third_party/mozjs-60/include/jspubtd.h:17,
                 from src/third_party/mozjs-60/include/jsapi.h:26,
                 from src/mongo/scripting/mozjs/wraptype.h:33,
                 from src/mongo/scripting/mozjs/bindata.h:32,
                 from src/mongo/scripting/mozjs/bindata.cpp:32:
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/include/jsapi.h:85:30:   required from 'JS::AutoValueArray<N>::AutoValueArray(JSContext*) [with long unsigned int N = 2]'
src/mongo/scripting/mozjs/bindata.cpp:94: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/include/js/CallArgs.h:74,
                 from src/third_party/mozjs-60/include/jsapi.h:29,
                 from src/mongo/scripting/mozjs/wraptype.h:33,
                 from src/mongo/scripting/mozjs/bindata.h:32,
                 from src/mongo/scripting/mozjs/bindata.cpp:32:
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
      |                                ^~~~~
c++ -o build/59f4f0dd/mongo/scripting/mozjs/minkey.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/minkey.cpp
c++ -o build/59f4f0dd/mongo/scripting/mozjs/bson.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/bson.cpp
c++ -o build/59f4f0dd/mongo/scripting/mozjs/valuewriter.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DSTATIC_JS_API=1 -DJS_USE_CUSTOM_ALLOCATOR -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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/netbsd/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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/mozjs/valuewriter.cpp
ar rcsTD build/59f4f0dd/mongo/libboost_assert_shim.a build/59f4f0dd/mongo/util/boost_assert_shim.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/libboost_assert_shim.a
Generating build/59f4f0dd/mongo/s/client/shard_remote_gen.cpp
c++ -o build/59f4f0dd/mongo/s/client/shard_remote.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/client/shard_remote.cpp
c++ -o build/59f4f0dd/mongo/db/s/active_migrations_registry.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/active_migrations_registry.cpp
c++ -o build/59f4f0dd/mongo/db/s/sharding_config_optime_gossip.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/sharding_config_optime_gossip.cpp
c++ -o build/59f4f0dd/mongo/db/s/split_vector.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/split_vector.cpp
c++ -o build/59f4f0dd/mongo/db/s/collection_sharding_runtime.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/collection_sharding_runtime.cpp
c++ -o build/59f4f0dd/mongo/db/s/implicit_create_collection.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/implicit_create_collection.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/client/fetcher.h:42,
                 from src/mongo/s/client/shard_remote.cpp:39:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/client/fetcher.h:42,
                 from src/mongo/s/client/shard_remote.cpp:39:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/client/fetcher.h:42,
                 from src/mongo/s/client/shard_remote.cpp:39:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/client/fetcher.h:42,
                 from src/mongo/s/client/shard_remote.cpp:39:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/s/scoped_operation_completion_sharding_actions.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/scoped_operation_completion_sharding_actions.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_raii.h:33,
                 from src/mongo/db/s/active_migrations_registry.cpp:36:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_raii.h:33,
                 from src/mongo/db/s/active_migrations_registry.cpp:36:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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_raii.h:33,
                 from src/mongo/db/s/active_migrations_registry.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/s/active_migrations_registry.cpp:36:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/s/split_vector.cpp:39:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/scripting/libscripting.a build/59f4f0dd/mongo/scripting/mozjs/base.o build/59f4f0dd/mongo/scripting/mozjs/bindata.o build/59f4f0dd/mongo/scripting/mozjs/bson.o build/59f4f0dd/mongo/scripting/mozjs/code.o build/59f4f0dd/mongo/scripting/mozjs/countdownlatch.o build/59f4f0dd/mongo/scripting/mozjs/cursor.o build/59f4f0dd/mongo/scripting/mozjs/cursor_handle.o build/59f4f0dd/mongo/scripting/mozjs/db.o build/59f4f0dd/mongo/scripting/mozjs/dbcollection.o build/59f4f0dd/mongo/scripting/mozjs/dbpointer.o build/59f4f0dd/mongo/scripting/mozjs/dbquery.o build/59f4f0dd/mongo/scripting/mozjs/dbref.o build/59f4f0dd/mongo/scripting/mozjs/engine.o build/59f4f0dd/mongo/scripting/mozjs/error.o build/59f4f0dd/mongo/scripting/mozjs/exception.o build/59f4f0dd/mongo/scripting/mozjs/global.o build/59f4f0dd/mongo/scripting/mozjs/idwrapper.o build/59f4f0dd/mongo/scripting/mozjs/implscope.o build/59f4f0dd/mongo/scripting/mozjs/internedstring.o build/59f4f0dd/mongo/scripting/mozjs/jscustomallocator.o build/59f4f0dd/mongo/scripting/mozjs/jsstringwrapper.o build/59f4f0dd/mongo/scripting/mozjs/jsthread.o build/59f4f0dd/mongo/scripting/mozjs/maxkey.o build/59f4f0dd/mongo/scripting/mozjs/minkey.o build/59f4f0dd/mongo/scripting/mozjs/mongo.o build/59f4f0dd/mongo/scripting/mozjs/mongohelpers.o build/59f4f0dd/mongo/scripting/mozjs/mongohelpers_js.o build/59f4f0dd/mongo/scripting/mozjs/nativefunction.o build/59f4f0dd/mongo/scripting/mozjs/numberdecimal.o build/59f4f0dd/mongo/scripting/mozjs/numberint.o build/59f4f0dd/mongo/scripting/mozjs/numberlong.o build/59f4f0dd/mongo/scripting/mozjs/object.o build/59f4f0dd/mongo/scripting/mozjs/objectwrapper.o build/59f4f0dd/mongo/scripting/mozjs/oid.o build/59f4f0dd/mongo/scripting/mozjs/PosixNSPR.o build/59f4f0dd/mongo/scripting/mozjs/proxyscope.o build/59f4f0dd/mongo/scripting/mozjs/regexp.o build/59f4f0dd/mongo/scripting/mozjs/session.o build/59f4f0dd/mongo/scripting/mozjs/status.o build/59f4f0dd/mongo/scripting/mozjs/timestamp.o build/59f4f0dd/mongo/scripting/mozjs/uri.o build/59f4f0dd/mongo/scripting/mozjs/valuereader.o build/59f4f0dd/mongo/scripting/mozjs/valuewriter.o build/59f4f0dd/mongo/scripting/mozjs/engine_gen.o build/59f4f0dd/mongo/scripting/mozjs/scripting_util_gen.o
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/s/split_vector.cpp:39:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/s/collection_sharding_runtime.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/scripting/libscripting.a
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/s/shard_metadata_util.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/shard_metadata_util.cpp
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/s/collection_sharding_runtime.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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_raii.h:33,
                 from src/mongo/db/s/split_vector.cpp:39:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/s/implicit_create_collection.cpp:40:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/s/split_vector.cpp:39:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_raii.h:33,
                 from src/mongo/db/s/collection_sharding_runtime.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/implicit_create_collection.cpp:40:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/s/collection_sharding_runtime.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_holder.h:36,
                 from src/mongo/db/s/implicit_create_collection.cpp:40:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/s/implicit_create_collection.cpp:40:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/curop.h:35,
                 from src/mongo/db/s/scoped_operation_completion_sharding_actions.cpp:36:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/s/migration_chunk_cloner_source_legacy.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/migration_chunk_cloner_source_legacy.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/scoped_operation_completion_sharding_actions.cpp:36:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/s/scoped_operation_completion_sharding_actions.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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: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/s/scoped_operation_completion_sharding_actions.cpp:36:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/s/range_deletion_task_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/s/range_deletion_task_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/delete.h:32,
                 from src/mongo/db/query/internal_plans.h:33,
                 from src/mongo/db/s/migration_chunk_cloner_source_legacy.h:39,
                 from src/mongo/db/s/migration_chunk_cloner_source_legacy.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/s/sharding_initialization_mongod.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/sharding_initialization_mongod.cpp
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/delete.h:32,
                 from src/mongo/db/query/internal_plans.h:33,
                 from src/mongo/db/s/migration_chunk_cloner_source_legacy.h:39,
                 from src/mongo/db/s/migration_chunk_cloner_source_legacy.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/s/chunk_move_write_concern_options.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/chunk_move_write_concern_options.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/delete.h:32,
                 from src/mongo/db/query/internal_plans.h:33,
                 from src/mongo/db/s/migration_chunk_cloner_source_legacy.h:39,
                 from src/mongo/db/s/migration_chunk_cloner_source_legacy.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/exec/requires_collection_stage.h:32,
                 from src/mongo/db/exec/delete.h:32,
                 from src/mongo/db/query/internal_plans.h:33,
                 from src/mongo/db/s/migration_chunk_cloner_source_legacy.h:39,
                 from src/mongo/db/s/migration_chunk_cloner_source_legacy.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/s/config_server_op_observer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/config_server_op_observer.cpp
c++ -o build/59f4f0dd/mongo/db/s/collection_sharding_state_factory_shard.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/collection_sharding_state_factory_shard.cpp
c++ -o build/59f4f0dd/mongo/db/s/migration_session_id.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/migration_session_id.cpp
c++ -o build/59f4f0dd/mongo/db/s/shard_identity_rollback_notifier.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/shard_identity_rollback_notifier.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/59f4f0dd/mongo/db/s/range_deletion_task_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/s/range_deletion_task_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/s/range_deletion_task_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/s/range_deletion_task_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/s/sharding_initialization_mongod.cpp:41:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/s/move_primary_source_manager.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/move_primary_source_manager.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_raii.h:33,
                 from src/mongo/db/s/sharding_initialization_mongod.cpp:41:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/s/sharding_state_recovery.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/sharding_state_recovery.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/op_observer.h:35,
                 from src/mongo/db/s/config_server_op_observer.h:32,
                 from src/mongo/db/s/config_server_op_observer.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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: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/s/sharding_initialization_mongod.cpp:41:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574: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/s/sharding_initialization_mongod.cpp:41:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/op_observer.h:35,
                 from src/mongo/db/s/config_server_op_observer.h:32,
                 from src/mongo/db/s/config_server_op_observer.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/op_observer.h:35,
                 from src/mongo/db/s/config_server_op_observer.h:32,
                 from src/mongo/db/s/config_server_op_observer.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/op_observer.h:35,
                 from src/mongo/db/s/config_server_op_observer.h:32,
                 from src/mongo/db/s/config_server_op_observer.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/s/migration_util.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/migration_util.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/s/namespace_metadata_change_notifications.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/namespace_metadata_change_notifications.cpp
c++ -o build/59f4f0dd/mongo/s/query/router_stage_limit.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/query/router_stage_limit.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_raii.h:33,
                 from src/mongo/db/s/sharding_state_recovery.cpp:40:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
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/db/s/move_primary_source_manager.h:32,
                 from src/mongo/db/s/move_primary_source_manager.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_raii.h:33,
                 from src/mongo/db/s/sharding_state_recovery.cpp:40:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/db/s/move_primary_source_manager.h:32,
                 from src/mongo/db/s/move_primary_source_manager.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/db/s/move_primary_source_manager.h:32,
                 from src/mongo/db/s/move_primary_source_manager.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/s/sharding_state_recovery.cpp:40:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
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/db/s/move_primary_source_manager.h:32,
                 from src/mongo/db/s/move_primary_source_manager.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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/s/sharding_state_recovery.cpp:40:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/catalog/health_log_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/catalog/health_log_gen.cpp
c++ -o build/59f4f0dd/mongo/db/s/wait_for_ongoing_chunk_splits_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/wait_for_ongoing_chunk_splits_command.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
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/s/migration_util.h:32,
                 from src/mongo/db/s/migration_util.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_raii.h:33,
                 from src/mongo/db/s/migration_util.h:32,
                 from src/mongo/db/s/migration_util.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/catalog_raii.h:33,
                 from src/mongo/db/s/migration_util.h:32,
                 from src/mongo/db/s/migration_util.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/s/migration_util.h:32,
                 from src/mongo/db/s/migration_util.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/geo/geometry_container.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/geo/geometry_container.cpp
c++ -o build/59f4f0dd/mongo/executor/egress_tag_closer_manager.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/executor/egress_tag_closer_manager.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/59f4f0dd/mongo/db/catalog/health_log_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/s/wait_for_ongoing_chunk_splits_command.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/catalog/health_log_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/catalog/health_log_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/catalog/health_log_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/geo/big_polygon.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/geo/big_polygon.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/s/wait_for_ongoing_chunk_splits_command.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/wait_for_ongoing_chunk_splits_command.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/wait_for_ongoing_chunk_splits_command.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/storage/biggie/biggie_recovery_unit.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/biggie/biggie_recovery_unit.cpp
c++ -o build/59f4f0dd/mongo/db/storage/backup_cursor_hooks.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/backup_cursor_hooks.cpp
c++ -o build/59f4f0dd/mongo/db/s/config/configsvr_repair_sharded_collection_chunks_history_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/config/configsvr_repair_sharded_collection_chunks_history_command.cpp
ar rcsTD build/59f4f0dd/mongo/executor/libegress_tag_closer_manager.a build/59f4f0dd/mongo/executor/egress_tag_closer_manager.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/executor/libegress_tag_closer_manager.a
c++ -o build/59f4f0dd/mongo/db/matcher/extensions_callback_real.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/extensions_callback_real.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/matcher/expression_text.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/expression_text.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/stats/fill_locker_info.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/stats/fill_locker_info.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_real.h:32,
                 from src/mongo/db/matcher/extensions_callback_real.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/storage/libbackup_cursor_hooks.a build/59f4f0dd/mongo/db/storage/backup_cursor_hooks.o
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
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_repair_sharded_collection_chunks_history_command.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/libbackup_cursor_hooks.a
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_real.h:32,
                 from src/mongo/db/matcher/extensions_callback_real.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/dbhelpers.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/dbhelpers.cpp
c++ -o build/59f4f0dd/mongo/db/repl/repl_set_request_votes.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/repl_set_request_votes.cpp
In file included from src/mongo/db/matcher/expression_expr.h:36,
                 from src/mongo/db/matcher/extensions_callback_real.cpp:35:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_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_repair_sharded_collection_chunks_history_command.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/storage/biggie/biggie_recovery_unit.cpp:36:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_repair_sharded_collection_chunks_history_command.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h:595:25: note: remove 'std::move' call
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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616: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_repair_sharded_collection_chunks_history_command.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/storage/biggie/biggie_recovery_unit.cpp:36:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/storage/biggie/biggie_recovery_unit.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/concurrency/write_conflict_exception.h:35,
                 from src/mongo/db/storage/biggie/biggie_recovery_unit.cpp:36:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/expression_text.h:33,
                 from src/mongo/db/matcher/expression_text.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/matcher/expression_text.cpp:36:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/util/libdns_query.a build/59f4f0dd/mongo/util/dns_query.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/libdns_query.a
c++ -o build/59f4f0dd/mongo/s/query/store_possible_cursor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/query/store_possible_cursor.cpp
ar rcsTD build/59f4f0dd/mongo/db/libmulti_key_path_tracker.a build/59f4f0dd/mongo/db/multi_key_path_tracker.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libmulti_key_path_tracker.a
c++ -o build/59f4f0dd/mongo/db/repl/replication_coordinator_impl_elect_v1.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/replication_coordinator_impl_elect_v1.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/repl/repl_set_command.h:34,
                 from src/mongo/db/repl/repl_set_request_votes.cpp:35:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/matcher/expression_text.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/matcher/expression_text.cpp:36:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/s/libsharding_runtime_d.a build/59f4f0dd/mongo/db/s/active_migrations_registry.o build/59f4f0dd/mongo/db/s/active_move_primaries_registry.o build/59f4f0dd/mongo/db/s/active_shard_collection_registry.o build/59f4f0dd/mongo/db/s/auto_split_vector.o build/59f4f0dd/mongo/db/s/chunk_move_write_concern_options.o build/59f4f0dd/mongo/db/s/chunk_splitter.o build/59f4f0dd/mongo/db/s/collection_sharding_runtime.o build/59f4f0dd/mongo/db/s/collection_sharding_state_factory_shard.o build/59f4f0dd/mongo/db/s/collection_sharding_state_factory_standalone.o build/59f4f0dd/mongo/db/s/config_server_op_observer.o build/59f4f0dd/mongo/db/s/implicit_create_collection.o build/59f4f0dd/mongo/db/s/metadata_manager.o build/59f4f0dd/mongo/db/s/migration_chunk_cloner_source_legacy.o build/59f4f0dd/mongo/db/s/migration_chunk_cloner_source.o build/59f4f0dd/mongo/db/s/migration_coordinator.o build/59f4f0dd/mongo/db/s/migration_destination_manager.o build/59f4f0dd/mongo/db/s/migration_session_id.o build/59f4f0dd/mongo/db/s/migration_source_manager.o build/59f4f0dd/mongo/db/s/migration_util.o build/59f4f0dd/mongo/db/s/move_primary_source_manager.o build/59f4f0dd/mongo/db/s/move_timing_helper.o build/59f4f0dd/mongo/db/s/namespace_metadata_change_notifications.o build/59f4f0dd/mongo/db/s/periodic_balancer_config_refresher.o build/59f4f0dd/mongo/db/s/periodic_sharded_index_consistency_checker.o build/59f4f0dd/mongo/db/s/range_deletion_util.o build/59f4f0dd/mongo/db/s/read_only_catalog_cache_loader.o build/59f4f0dd/mongo/db/s/scoped_operation_completion_sharding_actions.o build/59f4f0dd/mongo/db/s/session_catalog_migration_destination.o build/59f4f0dd/mongo/db/s/session_catalog_migration_source.o build/59f4f0dd/mongo/db/s/shard_filtering_metadata_refresh.o build/59f4f0dd/mongo/db/s/shard_identity_rollback_notifier.o build/59f4f0dd/mongo/db/s/shard_key_util.o build/59f4f0dd/mongo/db/s/shard_metadata_util.o build/59f4f0dd/mongo/db/s/shard_server_catalog_cache_loader.o build/59f4f0dd/mongo/db/s/shard_server_op_observer.o build/59f4f0dd/mongo/db/s/sharding_config_optime_gossip.o build/59f4f0dd/mongo/db/s/sharding_initialization_mongod.o build/59f4f0dd/mongo/db/s/sharding_state_recovery.o build/59f4f0dd/mongo/db/s/sharding_statistics.o build/59f4f0dd/mongo/db/s/split_chunk.o build/59f4f0dd/mongo/db/s/split_vector.o build/59f4f0dd/mongo/db/s/start_chunk_clone_request.o build/59f4f0dd/mongo/db/s/range_deletion_task_gen.o build/59f4f0dd/mongo/db/s/migration_coordinator_document_gen.o
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/repl/repl_set_command.h:34,
                 from src/mongo/db/repl/repl_set_request_votes.cpp:35:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/s/libsharding_runtime_d.a
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/repl/repl_set_command.h:34,
                 from src/mongo/db/repl/repl_set_request_votes.cpp:35:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/watchdog/watchdog_mongod.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/watchdog/watchdog_mongod.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
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/repl/repl_set_command.h:34,
                 from src/mongo/db/repl/repl_set_request_votes.cpp:35:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_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<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_text.cpp: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TextMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_text.cpp:111:21: warning: redundant move in return statement [-Wredundant-move]
  111 |     return std::move(expr);
      |            ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_text.cpp:111:21: 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_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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/read_write_concern_provenance_base_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/read_write_concern_provenance_base_gen.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/client/fetcher.h:42,
                 from src/mongo/db/repl/initial_syncer.h:42,
                 from src/mongo/db/repl/replication_coordinator_impl.h:41,
                 from src/mongo/db/repl/replication_coordinator_impl_elect_v1.cpp:36:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/client/fetcher.h:42,
                 from src/mongo/db/repl/initial_syncer.h:42,
                 from src/mongo/db/repl/replication_coordinator_impl.h:41,
                 from src/mongo/db/repl/replication_coordinator_impl_elect_v1.cpp:36:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/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<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/client/fetcher.h:42,
                 from src/mongo/db/repl/initial_syncer.h:42,
                 from src/mongo/db/repl/replication_coordinator_impl.h:41,
                 from src/mongo/db/repl/replication_coordinator_impl_elect_v1.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/client/fetcher.h:42,
                 from src/mongo/db/repl/initial_syncer.h:42,
                 from src/mongo/db/repl/replication_coordinator_impl.h:41,
                 from src/mongo/db/repl/replication_coordinator_impl_elect_v1.cpp:36:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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: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/matcher/expression_text.cpp:36:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/clientcursor.h:40,
                 from src/mongo/db/query/cursor_response.h:36,
                 from build/59f4f0dd/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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/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::MatchExpression> 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
c++ -o build/59f4f0dd/third_party/fmt/dist/src/posix.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-error=unused-result -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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/fmt/dist/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/third_party/fmt/dist/src/posix.cc
ar rcsTD build/59f4f0dd/mongo/db/repl/librepl_set_commands.a build/59f4f0dd/mongo/db/repl/repl_set_commands.o build/59f4f0dd/mongo/db/repl/repl_set_request_votes.o
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/watchdog/watchdog_mongod.cpp:42:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/librepl_set_commands.a
ar rcsTD build/59f4f0dd/third_party/asio-master/libasio.a build/59f4f0dd/third_party/asio-master/asio/src/asio.o
Skipping ranlib for thin archive build/59f4f0dd/third_party/asio-master/libasio.a
c++ -o build/59f4f0dd/mongo/db/server_options.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/server_options.cpp
c++ -o build/59f4f0dd/mongo/db/repl/replication_consistency_markers.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/replication_consistency_markers.cpp
ar rcsTD build/59f4f0dd/mongo/db/matcher/libexpressions_mongod_only.a build/59f4f0dd/mongo/db/matcher/extensions_callback_real.o build/59f4f0dd/mongo/db/matcher/expression_text.o build/59f4f0dd/mongo/db/matcher/expression_where.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/matcher/libexpressions_mongod_only.a
c++ -o build/59f4f0dd/mongo/db/s/split_vector_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/split_vector_command.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/commands/server_status.h:32,
                 from src/mongo/watchdog/watchdog_mongod.cpp:42:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
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/59f4f0dd/mongo/db/read_write_concern_provenance_base_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/watchdog/watchdog_mongod.cpp:42:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/server_status.h:32,
                 from src/mongo/watchdog/watchdog_mongod.cpp:42:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from build/59f4f0dd/mongo/db/read_write_concern_provenance_base_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/read_write_concern_provenance_base_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/read_write_concern_provenance_base_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/s/libsessions_collection_config_server.a build/59f4f0dd/mongo/db/s/sessions_collection_config_server.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/s/libsessions_collection_config_server.a
c++ -o build/59f4f0dd/mongo/db/query/planner_analysis.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/planner_analysis.cpp
c++ -o build/59f4f0dd/mongo/db/stats/counters.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/stats/counters.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/libdbhelpers.a build/59f4f0dd/mongo/db/dbhelpers.o
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libdbhelpers.a
Generating build/59f4f0dd/mongo/client/sasl_aws_client_options_gen.cpp
c++ -o build/59f4f0dd/mongo/client/sasl_aws_client_options_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/client/sasl_aws_client_options_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/split_vector_command.cpp:35:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/split_vector_command.cpp:35:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/split_vector_command.cpp:35:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/client/sasl_client_authenticate.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/sasl_client_authenticate.cpp
c++ -o build/59f4f0dd/mongo/client/sasl_aws_client_conversation.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/sasl_aws_client_conversation.cpp
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/split_vector_command.cpp:35:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/client/sasl_client_session.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/sasl_client_session.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/planner_analysis.h:32,
                 from src/mongo/db/query/planner_analysis.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/planner_analysis.h:32,
                 from src/mongo/db/query/planner_analysis.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/planner_analysis.h:32,
                 from src/mongo/db/query/planner_analysis.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/planner_analysis.h:32,
                 from src/mongo/db/query/planner_analysis.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/repl/isself.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/isself.cpp
ar rcsTD build/59f4f0dd/mongo/watchdog/libwatchdog_mongod.a build/59f4f0dd/mongo/watchdog/watchdog_mongod.o build/59f4f0dd/mongo/watchdog/watchdog_mongod_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/watchdog/libwatchdog_mongod.a
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/global_logger_storage.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/log/src/global_logger_storage.cpp
c++ -o build/59f4f0dd/mongo/util/intrusive_counter.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/intrusive_counter.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/s/balancer/balancer_chunk_selection_policy_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/balancer/balancer_chunk_selection_policy_impl.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/59f4f0dd/mongo/client/sasl_aws_client_options_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/client/sasl_aws_client_options_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/s/chunk_version.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/chunk_version.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/util/libintrusive_counter.a build/59f4f0dd/mongo/util/intrusive_counter.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/libintrusive_counter.a
c++ -o build/59f4f0dd/mongo/s/catalog/type_config_version.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/catalog/type_config_version.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/client/sasl_aws_client_options_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/client/sasl_aws_client_options_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/s/request_types/commit_chunk_migration_request_type.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/request_types/commit_chunk_migration_request_type.cpp
c++ -o build/59f4f0dd/mongo/s/request_types/add_shard_to_zone_request_type.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/request_types/add_shard_to_zone_request_type.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 src/mongo/db/repl/isself.cpp:45:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/s/catalog/type_shard.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/catalog/type_shard.cpp
c++ -o build/59f4f0dd/mongo/s/catalog/type_changelog.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/catalog/type_changelog.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/s/would_change_owning_shard_exception.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/would_change_owning_shard_exception.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/repl/isself.cpp:45:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/repl/isself.cpp:45:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/repl/isself.cpp:45:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/s/catalog/mongo_version_range.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/catalog/mongo_version_range.cpp
ar rcsTD build/59f4f0dd/mongo/client/libsasl_client.a build/59f4f0dd/mongo/client/native_sasl_client_session.o build/59f4f0dd/mongo/client/sasl_client_authenticate.o build/59f4f0dd/mongo/client/sasl_client_authenticate_impl.o build/59f4f0dd/mongo/client/sasl_client_conversation.o build/59f4f0dd/mongo/client/sasl_client_session.o build/59f4f0dd/mongo/client/sasl_plain_client_conversation.o build/59f4f0dd/mongo/client/sasl_scram_client_conversation.o build/59f4f0dd/mongo/client/sasl_aws_client_conversation.o build/59f4f0dd/mongo/client/sasl_aws_client_options_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/client/libsasl_client.a
c++ -o build/59f4f0dd/mongo/s/request_types/update_zone_key_range_request_type.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/request_types/update_zone_key_range_request_type.cpp
Generating build/59f4f0dd/mongo/s/chunk_version_gen.cpp
Generating build/59f4f0dd/mongo/s/request_types/clear_jumbo_flag_gen.cpp
c++ -o build/59f4f0dd/mongo/s/chunk_version_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/s/chunk_version_gen.cpp
c++ -o build/59f4f0dd/mongo/s/request_types/clear_jumbo_flag_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/s/request_types/clear_jumbo_flag_gen.cpp
c++ -o build/59f4f0dd/mongo/s/request_types/shard_collection_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/s/request_types/shard_collection_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/s/request_types/migration_secondary_throttle_options.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/request_types/migration_secondary_throttle_options.cpp
c++ -o build/59f4f0dd/mongo/s/request_types/add_shard_request_type.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/request_types/add_shard_request_type.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/59f4f0dd/mongo/s/request_types/clear_jumbo_flag_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/s/request_types/set_shard_version_request.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/request_types/set_shard_version_request.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/59f4f0dd/mongo/s/request_types/shard_collection_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/s/chunk_version_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/s/request_types/clear_jumbo_flag_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/s/catalog/type_mongos.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/catalog/type_mongos.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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from build/59f4f0dd/mongo/s/request_types/clear_jumbo_flag_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/s/request_types/clear_jumbo_flag_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/s/request_types/move_primary_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/s/request_types/move_primary_gen.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/59f4f0dd/mongo/s/request_types/shard_collection_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/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/59f4f0dd/mongo/s/chunk_version_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/59f4f0dd/mongo/s/request_types/shard_collection_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616: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/59f4f0dd/mongo/s/request_types/shard_collection_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/s/chunk_version_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/s/chunk_version_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/repl/libisself.a build/59f4f0dd/mongo/db/repl/isself.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libisself.a
c++ -o build/59f4f0dd/mongo/s/shard_id.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/shard_id.cpp
Generating build/59f4f0dd/mongo/s/request_types/flush_routing_table_cache_updates_gen.cpp
c++ -o build/59f4f0dd/mongo/s/request_types/flush_routing_table_cache_updates_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/s/request_types/flush_routing_table_cache_updates_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/storage/control/storage_control.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/control/storage_control.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/s/request_types/move_primary_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/auth/role_graph_update.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/role_graph_update.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/59f4f0dd/mongo/s/request_types/move_primary_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/curop.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/curop.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/repl/liboplog_buffer_proxy.a build/59f4f0dd/mongo/db/repl/oplog_buffer_proxy.o
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/liboplog_buffer_proxy.a
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/s/request_types/move_primary_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/s/commands/flush_router_config_cmd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/commands/flush_router_config_cmd.cpp
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/s/request_types/move_primary_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/s/commands/get_shard_map_cmd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/commands/get_shard_map_cmd.cpp
ar rcsTD build/59f4f0dd/mongo/db/repl/liboptime.a build/59f4f0dd/mongo/db/repl/bson_extract_optime.o build/59f4f0dd/mongo/db/repl/optime.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/liboptime.a
c++ -o build/59f4f0dd/mongo/db/repl/election_reason_counter_parser.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/election_reason_counter_parser.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/59f4f0dd/mongo/s/request_types/flush_routing_table_cache_updates_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/hasher.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/hasher.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/59f4f0dd/mongo/s/request_types/flush_routing_table_cache_updates_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/s/request_types/flush_routing_table_cache_updates_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/repl/libelection_reason_counter_parser.a build/59f4f0dd/mongo/db/repl/election_reason_counter_parser.o
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libelection_reason_counter_parser.a
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/59f4f0dd/mongo/s/request_types/flush_routing_table_cache_updates_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/repl/initial_sync_shared_data.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/initial_sync_shared_data.cpp
In file included from src/mongo/db/matcher/expression_parser.h:37,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/update/update_driver.h:42,
                 from src/mongo/db/auth/role_graph_update.cpp:42:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/update/update_driver.h:42,
                 from src/mongo/db/auth/role_graph_update.cpp:42:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/pipeline/pipeline.h:40,
                 from src/mongo/db/update/update_driver.h:42,
                 from src/mongo/db/auth/role_graph_update.cpp:42:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/s/commands/get_shard_map_cmd.cpp:35:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/s/commands/flush_router_config_cmd.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/pipeline/pipeline.h:40,
                 from src/mongo/db/update/update_driver.h:42,
                 from src/mongo/db/auth/role_graph_update.cpp:42:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/s/commands/get_shard_map_cmd.cpp:35:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/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/s/commands/flush_router_config_cmd.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/s/commands/get_shard_map_cmd.cpp:35:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595: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/curop.cpp:36:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616: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/s/commands/get_shard_map_cmd.cpp:35:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
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/s/commands/flush_router_config_cmd.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/s/commands/flush_router_config_cmd.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/curop.cpp:36:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/libmongohasher.a build/59f4f0dd/mongo/db/hasher.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libmongohasher.a
ar rcsTD build/59f4f0dd/mongo/db/commands/libmongod_fsync.a build/59f4f0dd/mongo/db/commands/fsync.o
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/curop.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/commands/libmongod_fsync.a
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/ftdc/libftdc_server.a build/59f4f0dd/mongo/db/ftdc/ftdc_server.o build/59f4f0dd/mongo/db/ftdc/ftdc_server_gen.o build/59f4f0dd/mongo/db/ftdc/ftdc_system_stats.o build/59f4f0dd/mongo/db/ftdc/ftdc_system_stats_netbsd.o
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/curop.cpp:36:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/ftdc/libftdc_server.a
c++ -o build/59f4f0dd/mongo/db/commands/server_status.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/server_status.cpp
ar rcsTD build/59f4f0dd/mongo/db/repl/libinitial_sync_shared_data.a build/59f4f0dd/mongo/db/repl/initial_sync_shared_data.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libinitial_sync_shared_data.a
ar rcsTD build/59f4f0dd/mongo/db/librebuild_indexes.a build/59f4f0dd/mongo/db/rebuild_indexes.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/librebuild_indexes.a
c++ -o build/59f4f0dd/mongo/db/storage/index_entry_comparison.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/index_entry_comparison.cpp
c++ -o build/59f4f0dd/mongo/db/index/index_build_interceptor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/index/index_build_interceptor.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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:39,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/update/update_driver.h:42,
                 from src/mongo/db/auth/role_graph_update.cpp:42:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 src/mongo/db/commands/server_status.h:32,
                 from src/mongo/db/commands/server_status.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/s/libcommon_s.a build/59f4f0dd/mongo/s/catalog/mongo_version_range.o build/59f4f0dd/mongo/s/catalog/type_changelog.o build/59f4f0dd/mongo/s/catalog/type_chunk.o build/59f4f0dd/mongo/s/catalog/type_collection.o build/59f4f0dd/mongo/s/catalog/type_config_version.o build/59f4f0dd/mongo/s/catalog/type_database.o build/59f4f0dd/mongo/s/catalog/type_lockpings.o build/59f4f0dd/mongo/s/catalog/type_locks.o build/59f4f0dd/mongo/s/catalog/type_mongos.o build/59f4f0dd/mongo/s/catalog/type_shard_collection.o build/59f4f0dd/mongo/s/catalog/type_shard_database.o build/59f4f0dd/mongo/s/catalog/type_shard.o build/59f4f0dd/mongo/s/catalog/type_tags.o build/59f4f0dd/mongo/s/request_types/add_shard_request_type.o build/59f4f0dd/mongo/s/request_types/add_shard_to_zone_request_type.o build/59f4f0dd/mongo/s/request_types/auto_split_vector_gen.o build/59f4f0dd/mongo/s/request_types/balance_chunk_request_type.o build/59f4f0dd/mongo/s/request_types/commit_chunk_migration_request_type.o build/59f4f0dd/mongo/s/request_types/merge_chunk_request_type.o build/59f4f0dd/mongo/s/request_types/merge_chunks_request_type.o build/59f4f0dd/mongo/s/request_types/migration_secondary_throttle_options.o build/59f4f0dd/mongo/s/request_types/move_chunk_request.o build/59f4f0dd/mongo/s/request_types/remove_shard_from_zone_request_type.o build/59f4f0dd/mongo/s/request_types/set_shard_version_request.o build/59f4f0dd/mongo/s/request_types/split_chunk_request_type.o build/59f4f0dd/mongo/s/request_types/update_zone_key_range_request_type.o build/59f4f0dd/mongo/s/cannot_implicitly_create_collection_info.o build/59f4f0dd/mongo/s/chunk_version.o build/59f4f0dd/mongo/s/database_version_helpers.o build/59f4f0dd/mongo/s/shard_id.o build/59f4f0dd/mongo/s/shard_invalidated_for_targeting_exception.o build/59f4f0dd/mongo/s/stale_exception.o build/59f4f0dd/mongo/s/would_change_owning_shard_exception.o build/59f4f0dd/mongo/s/catalog/type_chunk_base_gen.o build/59f4f0dd/mongo/s/catalog/type_shard_collection_gen.o build/59f4f0dd/mongo/s/chunk_version_gen.o build/59f4f0dd/mongo/s/database_version_gen.o build/59f4f0dd/mongo/s/request_types/balancer_collection_status_gen.o build/59f4f0dd/mongo/s/request_types/clone_catalog_data_gen.o build/59f4f0dd/mongo/s/request_types/clear_jumbo_flag_gen.o build/59f4f0dd/mongo/s/request_types/clone_collection_options_from_primary_shard_gen.o build/59f4f0dd/mongo/s/request_types/create_collection_gen.o build/59f4f0dd/mongo/s/request_types/create_database_gen.o build/59f4f0dd/mongo/s/request_types/ensure_chunk_version_is_greater_than_gen.o build/59f4f0dd/mongo/s/request_types/flush_database_cache_updates_gen.o build/59f4f0dd/mongo/s/request_types/flush_routing_table_cache_updates_gen.o build/59f4f0dd/mongo/s/request_types/get_database_version_gen.o build/59f4f0dd/mongo/s/request_types/move_primary_gen.o build/59f4f0dd/mongo/s/request_types/shard_collection_gen.o build/59f4f0dd/mongo/s/request_types/refine_collection_shard_key_gen.o build/59f4f0dd/mongo/s/request_types/set_allow_migrations_gen.o build/59f4f0dd/mongo/s/request_types/wait_for_fail_point_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/libcommon_s.a
c++ -o build/59f4f0dd/mongo/db/repl/oplog_entry_or_grouped_inserts.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/oplog_entry_or_grouped_inserts.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/commands/server_status.h:32,
                 from src/mongo/db/commands/server_status.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/commands/server_status.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/server_status.h:32,
                 from src/mongo/db/commands/server_status.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/storage/libindex_entry_comparison.a build/59f4f0dd/mongo/db/storage/index_entry_comparison.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/libindex_entry_comparison.a
c++ -o build/59f4f0dd/mongo/util/quick_exit.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/quick_exit.cpp
c++ -o build/59f4f0dd/mongo/db/mirroring_sampler.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/mirroring_sampler.cpp
c++ -o build/59f4f0dd/mongo/db/ops/parsed_update.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/ops/parsed_update.cpp
c++ -o build/59f4f0dd/mongo/rpc/factory.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/rpc/factory.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/s/commands/libshared_cluster_commands.a build/59f4f0dd/mongo/s/commands/flush_router_config_cmd.o build/59f4f0dd/mongo/s/commands/get_shard_map_cmd.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/commands/libshared_cluster_commands.a
c++ -o build/59f4f0dd/mongo/db/read_write_concern_provenance.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/read_write_concern_provenance.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_raii.h:33,
                 from src/mongo/db/index/index_build_interceptor.cpp:40:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_raii.h:33,
                 from src/mongo/db/index/index_build_interceptor.cpp:40:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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_raii.h:33,
                 from src/mongo/db/index/index_build_interceptor.cpp:40:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/index/index_build_interceptor.cpp:40:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/dbmessage.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/dbmessage.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
/usr/pkg/bin/python3.12 src/mongo/db/fts/unicode/gen_casefold_map.py src/third_party/unicode-8.0.0/CaseFolding.txt build/59f4f0dd/mongo/db/fts/unicode/codepoints_casefold.cpp
c++ -o build/59f4f0dd/mongo/db/fts/unicode/codepoints_casefold.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/fts/unicode/codepoints_casefold.cpp
c++ -o build/59f4f0dd/mongo/util/elapsed_tracker.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/elapsed_tracker.cpp
c++ -o build/59f4f0dd/mongo/db/index/btree_key_generator.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/index/btree_key_generator.cpp
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/ops/parsed_update.h:33,
                 from src/mongo/db/ops/parsed_update.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/catalog/health_log.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/health_log.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/ops/parsed_update.h:35,
                 from src/mongo/db/ops/parsed_update.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/ops/parsed_update.h:35,
                 from src/mongo/db/ops/parsed_update.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/ops/parsed_update.h:35,
                 from src/mongo/db/ops/parsed_update.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/commands/libserver_status_core.a build/59f4f0dd/mongo/db/commands/server_status.o build/59f4f0dd/mongo/db/commands/server_status_internal.o build/59f4f0dd/mongo/db/commands/server_status_metric.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/commands/libserver_status_core.a
ar rcsTD build/59f4f0dd/mongo/crypto/libsha256_block.a build/59f4f0dd/mongo/crypto/sha256_block.o
ar rcsTD build/59f4f0dd/mongo/db/query/libhint_parser.a build/59f4f0dd/mongo/db/query/hint_parser.o build/59f4f0dd/mongo/db/query/hint_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/crypto/libsha256_block.a
c++ -o build/59f4f0dd/third_party/shim_zstd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/shim_zstd.cpp
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/query/libhint_parser.a
c++ -o build/59f4f0dd/mongo/db/query/query_planner.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/query_planner.cpp
gcc -o build/59f4f0dd/third_party/libstemmer_c/src_c/stem_UTF_8_french.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -fno-strict-overflow -DNDEBUG -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/libstemmer_c/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/libstemmer_c/src_c/stem_UTF_8_french.c
ar rcsTD build/59f4f0dd/mongo/db/libdbmessage.a build/59f4f0dd/mongo/db/dbmessage.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libdbmessage.a
c++ -o build/59f4f0dd/mongo/db/exec/sort_key_comparator.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/exec/sort_key_comparator.cpp
ar rcsTD build/59f4f0dd/mongo/util/libelapsed_tracker.a build/59f4f0dd/mongo/util/elapsed_tracker.o
ar rcsTD build/59f4f0dd/third_party/libshim_wiredtiger.a build/59f4f0dd/third_party/shim_wiredtiger.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/libelapsed_tracker.a
Skipping ranlib for thin archive build/59f4f0dd/third_party/libshim_wiredtiger.a
c++ -o build/59f4f0dd/mongo/util/net/ssl_options.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/net/ssl_options.cpp
ar rcsTD build/59f4f0dd/mongo/db/libkeys_collection_document.a build/59f4f0dd/mongo/db/keys_collection_document.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libkeys_collection_document.a
c++ -o build/59f4f0dd/mongo/s/client/num_hosts_targeted_metrics.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/client/num_hosts_targeted_metrics.cpp
src/mongo/db/ops/parsed_update.cpp: In static member function 'static mongo::StatusWith<std::map<mongo::StringData, std::unique_ptr<mongo::ExpressionWithPlaceholder> > > mongo::ParsedUpdate::parseArrayFilters(const boost::intrusive_ptr<mongo::ExpressionContext>&, const std::vector<mongo::BSONObj>&, const mongo::NamespaceString&)':
src/mongo/db/ops/parsed_update.cpp:226:21: warning: redundant move in return statement [-Wredundant-move]
  226 |     return std::move(arrayFiltersOut);
      |            ~~~~~~~~~^~~~~~~~~~~~~~~~~
src/mongo/db/ops/parsed_update.cpp:226:21: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/pipeline/document_path_support.h:38,
                 from src/mongo/db/query/sort_pattern.h:34,
                 from src/mongo/db/exec/sort_key_comparator.h:35,
                 from src/mongo/db/exec/sort_key_comparator.cpp:30:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/concurrency/deferred_writer.h:32,
                 from src/mongo/db/catalog/health_log.h:33,
                 from src/mongo/db/catalog/health_log.cpp:30:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/index/libkey_generator.a build/59f4f0dd/mongo/db/index/btree_key_generator.o build/59f4f0dd/mongo/db/index/expression_keys_private.o build/59f4f0dd/mongo/db/index/sort_key_generator.o build/59f4f0dd/mongo/db/index/wildcard_key_generator.o
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/concurrency/deferred_writer.h:32,
                 from src/mongo/db/catalog/health_log.h:33,
                 from src/mongo/db/catalog/health_log.cpp:30:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/index/libkey_generator.a
ar rcsTD build/59f4f0dd/mongo/client/libreplica_set_monitor_server_parameters.a build/59f4f0dd/mongo/client/replica_set_monitor_server_parameters.o build/59f4f0dd/mongo/client/replica_set_monitor_server_parameters_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/client/libreplica_set_monitor_server_parameters.a
ar rcsTD build/59f4f0dd/mongo/db/libglobal_settings.a build/59f4f0dd/mongo/db/global_settings.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libglobal_settings.a
c++ -o build/59f4f0dd/mongo/db/transaction_metrics_observer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/transaction_metrics_observer.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/query_planner.h:33,
                 from src/mongo/db/query/query_planner.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/query_planner.h:33,
                 from src/mongo/db/query/query_planner.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/concurrency/deferred_writer.h:32,
                 from src/mongo/db/catalog/health_log.h:33,
                 from src/mongo/db/catalog/health_log.cpp:30:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/concurrency/deferred_writer.h:32,
                 from src/mongo/db/catalog/health_log.h:33,
                 from src/mongo/db/catalog/health_log.cpp:30:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/curop.h:35,
                 from src/mongo/s/client/num_hosts_targeted_metrics.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/s/transaction_coordinator_factory_mongod.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/transaction_coordinator_factory_mongod.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/ops/parsed_update.h:35,
                 from src/mongo/db/ops/parsed_update.cpp:32:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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/query_planner.h:33,
                 from src/mongo/db/query/query_planner.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616: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/query_planner.h:33,
                 from src/mongo/db/query/query_planner.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/client/num_hosts_targeted_metrics.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/s/client/num_hosts_targeted_metrics.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/s/client/num_hosts_targeted_metrics.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/util/net/libssl_options.a build/59f4f0dd/mongo/util/net/ssl_options.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/net/libssl_options.a
c++ -o build/59f4f0dd/mongo/db/s/transaction_coordinator_structures.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/transaction_coordinator_structures.cpp
ar rcsTD build/59f4f0dd/mongo/db/ops/libparsed_update.a build/59f4f0dd/mongo/db/ops/parsed_update.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/ops/libparsed_update.a
c++ -o build/59f4f0dd/mongo/db/s/transaction_coordinator_curop_mongod.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/transaction_coordinator_curop_mongod.cpp
In file included from src/mongo/db/query/planner_ixselect.h:32,
                 from src/mongo/db/query/query_planner.cpp:54:
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchObjectMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:85:25: warning: redundant move in return statement [-Wredundant-move]
   85 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:85:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchValueMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:140:25: warning: redundant move in return statement [-Wredundant-move]
  140 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:140:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/exec/libsort_executor.a build/59f4f0dd/mongo/db/exec/sort_executor.o build/59f4f0dd/mongo/db/exec/sort_key_comparator.o
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::SizeMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:177:25: warning: redundant move in return statement [-Wredundant-move]
  177 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:177:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/exec/libsort_executor.a
c++ -o build/59f4f0dd/mongo/db/s/transaction_coordinators_stats_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/s/transaction_coordinators_stats_gen.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/transaction_metrics_observer.h:32,
                 from src/mongo/db/transaction_metrics_observer.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/s/transaction_coordinator_service.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/transaction_coordinator_service.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/transaction_metrics_observer.h:32,
                 from src/mongo/db/transaction_metrics_observer.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/uncommitted_collections.h:37,
                 from src/mongo/db/transaction_participant.h:36,
                 from src/mongo/db/s/transaction_coordinator_factory_mongod.cpp:35:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/transaction_metrics_observer.h:32,
                 from src/mongo/db/transaction_metrics_observer.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616: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/transaction_metrics_observer.h:32,
                 from src/mongo/db/transaction_metrics_observer.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/uncommitted_collections.h:37,
                 from src/mongo/db/transaction_participant.h:36,
                 from src/mongo/db/s/transaction_coordinator_factory_mongod.cpp:35:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/query_planner.h:33,
                 from src/mongo/db/query/query_planner.cpp:34:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/catalog/uncommitted_collections.h:37,
                 from src/mongo/db/transaction_participant.h:36,
                 from src/mongo/db/s/transaction_coordinator_factory_mongod.cpp:35:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/uncommitted_collections.h:37,
                 from src/mongo/db/transaction_participant.h:36,
                 from src/mongo/db/s/transaction_coordinator_factory_mongod.cpp:35:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/s/single_transaction_coordinator_stats.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/single_transaction_coordinator_stats.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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:37,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/mongos_process_interface.h:33,
                 from src/mongo/db/s/transaction_coordinator_curop.h:31,
                 from src/mongo/db/s/transaction_coordinator_curop_mongod.cpp:29:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/mongos_process_interface.h:33,
                 from src/mongo/db/s/transaction_coordinator_curop.h:31,
                 from src/mongo/db/s/transaction_coordinator_curop_mongod.cpp:29:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/mongos_process_interface.h:33,
                 from src/mongo/db/s/transaction_coordinator_curop.h:31,
                 from src/mongo/db/s/transaction_coordinator_curop_mongod.cpp:29:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/mongos_process_interface.h:33,
                 from src/mongo/db/s/transaction_coordinator_curop.h:31,
                 from src/mongo/db/s/transaction_coordinator_curop_mongod.cpp:29:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/s/transaction_coordinators_stats_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/s/transaction_coordinators_stats_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/s/transaction_coordinator.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/transaction_coordinator.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/s/transaction_coordinators_stats_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/s/transaction_coordinators_stats_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/commands/server_status.h:32,
                 from src/mongo/db/storage/flow_control.h:34,
                 from src/mongo/db/s/transaction_coordinator_service.cpp:39:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/s/transaction_coordinator_document_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/s/transaction_coordinator_document_gen.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/commands/server_status.h:32,
                 from src/mongo/db/storage/flow_control.h:34,
                 from src/mongo/db/s/transaction_coordinator_service.cpp:39:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/transaction_coordinator_service.cpp:39:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
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/s/transaction_coordinator_service.cpp:39:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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:39,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/mongos_process_interface.h:33,
                 from src/mongo/db/s/transaction_coordinator_curop.h:31,
                 from src/mongo/db/s/transaction_coordinator_curop_mongod.cpp:29:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/s/transaction_coordinator_catalog.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/transaction_coordinator_catalog.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 src/mongo/db/commands/server_status.h:32,
                 from src/mongo/db/s/server_transaction_coordinators_metrics.h:32,
                 from src/mongo/db/s/transaction_coordinator_metrics_observer.h:32,
                 from src/mongo/db/s/transaction_coordinator.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/s/transaction_coordinator_worker_curop_repository_mongod.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/transaction_coordinator_worker_curop_repository_mongod.cpp
c++ -o build/59f4f0dd/mongo/db/s/wait_for_majority_service.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/wait_for_majority_service.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/commands/server_status.h:32,
                 from src/mongo/db/s/server_transaction_coordinators_metrics.h:32,
                 from src/mongo/db/s/transaction_coordinator_metrics_observer.h:32,
                 from src/mongo/db/s/transaction_coordinator.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/server_transaction_coordinators_metrics.h:32,
                 from src/mongo/db/s/transaction_coordinator_metrics_observer.h:32,
                 from src/mongo/db/s/transaction_coordinator.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/server_status.h:32,
                 from src/mongo/db/s/server_transaction_coordinators_metrics.h:32,
                 from src/mongo/db/s/transaction_coordinator_metrics_observer.h:32,
                 from src/mongo/db/s/transaction_coordinator.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/db/s/transaction_coordinator_document_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/s/transaction_coordinator_util.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/transaction_coordinator_util.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/59f4f0dd/mongo/db/s/transaction_coordinator_document_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/s/transaction_coordinator_document_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/s/transaction_coordinator_document_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/repl/libscatter_gather.a build/59f4f0dd/mongo/db/repl/scatter_gather_algorithm.o build/59f4f0dd/mongo/db/repl/scatter_gather_runner.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libscatter_gather.a
c++ -o build/59f4f0dd/mongo/db/db_raii.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/db_raii.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/s/transaction_coordinator_worker_curop_repository.h:31,
                 from src/mongo/db/s/transaction_coordinator_worker_curop_info.h:31,
                 from src/mongo/db/s/transaction_coordinator_worker_curop_repository_mongod.cpp:29:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/transaction_coordinator_worker_curop_repository.h:31,
                 from src/mongo/db/s/transaction_coordinator_worker_curop_info.h:31,
                 from src/mongo/db/s/transaction_coordinator_worker_curop_repository_mongod.cpp:29:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/s/transaction_coordinator_util.cpp:40:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/transaction_coordinator_util.cpp:40:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/s/transaction_coordinator_worker_curop_repository.h:31,
                 from src/mongo/db/s/transaction_coordinator_worker_curop_info.h:31,
                 from src/mongo/db/s/transaction_coordinator_worker_curop_repository_mongod.cpp:29:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/storage/storage_engine_metadata.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/storage_engine_metadata.cpp
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/s/transaction_coordinator_worker_curop_repository.h:31,
                 from src/mongo/db/s/transaction_coordinator_worker_curop_info.h:31,
                 from src/mongo/db/s/transaction_coordinator_worker_curop_repository_mongod.cpp:29:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/s/transaction_coordinator_util.cpp:40:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/s/transaction_coordinator_util.cpp:40:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/commands/map_reduce_out_options.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/map_reduce_out_options.cpp
c++ -o build/59f4f0dd/mongo/db/startup_warnings_common.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/startup_warnings_common.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_raii.h:33,
                 from src/mongo/db/db_raii.h:34,
                 from src/mongo/db/db_raii.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_raii.h:33,
                 from src/mongo/db/db_raii.h:34,
                 from src/mongo/db/db_raii.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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_raii.h:33,
                 from src/mongo/db/db_raii.h:34,
                 from src/mongo/db/db_raii.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/db_raii.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/util/thread_safe_string.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/thread_safe_string.cpp
c++ -o build/59f4f0dd/mongo/db/query/canonical_query.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/canonical_query.cpp
ar rcsTD build/59f4f0dd/mongo/db/repl/libstorage_interface_impl.a build/59f4f0dd/mongo/db/repl/storage_interface_impl.o build/59f4f0dd/mongo/db/repl/collection_bulk_loader_impl.o
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libstorage_interface_impl.a
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
ar rcsTD build/59f4f0dd/mongo/db/repl/libreplication_consistency_markers_idl.a build/59f4f0dd/mongo/db/repl/replication_consistency_markers_gen.o
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/util/libprogress_meter.a build/59f4f0dd/mongo/util/progress_meter.o build/59f4f0dd/mongo/util/thread_safe_string.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libreplication_consistency_markers_idl.a
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/libprogress_meter.a
c++ -o build/59f4f0dd/mongo/util/log_and_backoff.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/log_and_backoff.cpp
c++ -o build/59f4f0dd/mongo/db/commands/server_status_servers.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/server_status_servers.cpp
c++ -o build/59f4f0dd/third_party/s2/s2regioncoverer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DDEBUG_MODE=false -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/third_party/s2/s2regioncoverer.cc
c++ -o build/59f4f0dd/mongo/db/ops/insert.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/ops/insert.cpp
ar rcsTD build/59f4f0dd/mongo/db/libstartup_warnings_common.a build/59f4f0dd/mongo/db/startup_warnings_common.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libstartup_warnings_common.a
c++ -o build/59f4f0dd/mongo/db/storage/duplicate_key_error_info.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/duplicate_key_error_info.cpp
ar rcsTD build/59f4f0dd/mongo/s/query/libcluster_cursor_cleanup_job.a build/59f4f0dd/mongo/s/query/cluster_cursor_cleanup_job.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/query/libcluster_cursor_cleanup_job.a
ar rcsTD build/59f4f0dd/mongo/db/pipeline/process_interface/libshardsvr_process_interface.a build/59f4f0dd/mongo/db/pipeline/process_interface/shardsvr_process_interface.o
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/pipeline/process_interface/libshardsvr_process_interface.a
ar rcsTD build/59f4f0dd/mongo/executor/libasync_multicaster.a build/59f4f0dd/mongo/executor/async_multicaster.o
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Skipping ranlib for thin archive build/59f4f0dd/mongo/executor/libasync_multicaster.a
ar rcsTD build/59f4f0dd/mongo/db/catalog/libdocument_validation.a build/59f4f0dd/mongo/db/catalog/document_validation.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/catalog/libdocument_validation.a
ar rcsTD build/59f4f0dd/mongo/client/libconnection_string.a build/59f4f0dd/mongo/client/connection_string.o build/59f4f0dd/mongo/client/mongo_uri.o
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/canonical_query.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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);
      |                ~~~~~~~~~^~~
Skipping ranlib for thin archive build/59f4f0dd/mongo/client/libconnection_string.a
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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/util/debugger.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/debugger.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/canonical_query.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/util/liblog_and_backoff.a build/59f4f0dd/mongo/util/log_and_backoff.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/liblog_and_backoff.a
ar rcsTD build/59f4f0dd/mongo/db/catalog/libcollection.a build/59f4f0dd/mongo/db/catalog/collection.o
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/catalog/libcollection.a
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/canonical_query.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/canonical_query.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/repl/reporter.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/reporter.cpp
c++ -o build/59f4f0dd/mongo/db/s/config/configsvr_balancer_collection_status_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/config/configsvr_balancer_collection_status_command.cpp
In file included from src/mongo/db/query/canonical_query.cpp:37:
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchObjectMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:85:25: warning: redundant move in return statement [-Wredundant-move]
   85 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:85:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchValueMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:140:25: warning: redundant move in return statement [-Wredundant-move]
  140 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:140:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::SizeMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:177:25: warning: redundant move in return statement [-Wredundant-move]
  177 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:177: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/commands/server_status.h:32,
                 from src/mongo/db/commands/server_status_servers.cpp:33:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/query/canonical_query.cpp: In static member function 'static mongo::StatusWith<std::unique_ptr<mongo::CanonicalQuery> > mongo::CanonicalQuery::canonicalize(mongo::OperationContext*, std::unique_ptr<mongo::QueryRequest>, const boost::intrusive_ptr<mongo::ExpressionContext>&, const mongo::ExtensionsCallback&, mongo::MatchExpressionParser::AllowedFeatureSet, const mongo::ProjectionPolicies&)':
src/mongo/db/query/canonical_query.cpp:188:21: warning: redundant move in return statement [-Wredundant-move]
  188 |     return std::move(cq);
      |            ~~~~~~~~~^~~~
src/mongo/db/query/canonical_query.cpp:188:21: note: remove 'std::move' call
src/mongo/db/query/canonical_query.cpp: In static member function 'static mongo::StatusWith<std::unique_ptr<mongo::CanonicalQuery> > mongo::CanonicalQuery::canonicalize(mongo::OperationContext*, const mongo::CanonicalQuery&, mongo::MatchExpression*)':
src/mongo/db/query/canonical_query.cpp:219:21: warning: redundant move in return statement [-Wredundant-move]
  219 |     return std::move(cq);
      |            ~~~~~~~~~^~~~
src/mongo/db/query/canonical_query.cpp:219: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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from src/mongo/db/commands/server_status.h:32,
                 from src/mongo/db/commands/server_status_servers.cpp:33:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/exceptions.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/log/src/exceptions.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/commands/server_status_servers.cpp:33:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/storage/libduplicate_key_error_info.a build/59f4f0dd/mongo/db/storage/duplicate_key_error_info.o
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/commands/server_status_servers.cpp:33:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/libduplicate_key_error_info.a
ar rcsTD build/59f4f0dd/mongo/db/catalog/libthrottle_cursor.a build/59f4f0dd/mongo/db/catalog/throttle_cursor.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/catalog/libthrottle_cursor.a
c++ -o build/59f4f0dd/mongo/db/query/collation/collator_interface_icu.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/collation/collator_interface_icu.cpp
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/canonical_query.cpp:34:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/s/config/configsvr_balancer_collection_status_command.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_raii.h:33,
                 from src/mongo/db/s/config/configsvr_balancer_collection_status_command.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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_raii.h:33,
                 from src/mongo/db/s/config/configsvr_balancer_collection_status_command.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/query/collation/collator_factory_icu.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/collation/collator_factory_icu.cpp
ar rcsTD build/59f4f0dd/mongo/db/libwrite_ops.a build/59f4f0dd/mongo/db/ops/delete.o build/59f4f0dd/mongo/db/ops/find_and_modify_result.o build/59f4f0dd/mongo/db/ops/insert.o build/59f4f0dd/mongo/db/ops/update.o build/59f4f0dd/mongo/db/ops/write_ops_retryability.o build/59f4f0dd/mongo/db/ops/single_write_result_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libwrite_ops.a
c++ -o build/59f4f0dd/mongo/db/query/collation/collator_factory_interface.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/collation/collator_factory_interface.cpp
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/s/config/configsvr_balancer_collection_status_command.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/repl/oplog_fetcher.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/oplog_fetcher.cpp
c++ -o build/59f4f0dd/mongo/db/storage/storage_engine_lock_file_posix.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/storage_engine_lock_file_posix.cpp
ar rcsTD build/59f4f0dd/mongo/db/s/libtransaction_coordinator.a build/59f4f0dd/mongo/db/s/server_transaction_coordinators_metrics.o build/59f4f0dd/mongo/db/s/single_transaction_coordinator_stats.o build/59f4f0dd/mongo/db/s/transaction_coordinator_catalog.o build/59f4f0dd/mongo/db/s/transaction_coordinator_curop_mongod.o build/59f4f0dd/mongo/db/s/transaction_coordinator_factory_mongod.o build/59f4f0dd/mongo/db/s/transaction_coordinator_futures_util.o build/59f4f0dd/mongo/db/s/transaction_coordinator_metrics_observer.o build/59f4f0dd/mongo/db/s/transaction_coordinator_service.o build/59f4f0dd/mongo/db/s/transaction_coordinator_structures.o build/59f4f0dd/mongo/db/s/transaction_coordinator_util.o build/59f4f0dd/mongo/db/s/transaction_coordinator_worker_curop_repository_mongod.o build/59f4f0dd/mongo/db/s/transaction_coordinator.o build/59f4f0dd/mongo/db/s/wait_for_majority_service.o build/59f4f0dd/mongo/db/s/transaction_coordinator_document_gen.o build/59f4f0dd/mongo/db/s/transaction_coordinators_stats_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/s/libtransaction_coordinator.a
c++ -o build/59f4f0dd/mongo/db/query/projection.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/projection.cpp
c++ -o build/59f4f0dd/mongo/db/query/tailable_mode_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/query/tailable_mode_gen.cpp
ar rcsTD build/59f4f0dd/mongo/db/repl/libreporter.a build/59f4f0dd/mongo/db/repl/reporter.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libreporter.a
ar rcsTD build/59f4f0dd/mongo/db/pipeline/libexpression.a build/59f4f0dd/mongo/db/pipeline/expression.o build/59f4f0dd/mongo/db/pipeline/expression_trigonometric.o build/59f4f0dd/mongo/db/pipeline/make_js_function.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/pipeline/libexpression.a
c++ -o build/59f4f0dd/mongo/db/initialize_snmp.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/initialize_snmp.cpp
ar rcsTD build/59f4f0dd/mongo/db/query/collation/libcollator_icu.a build/59f4f0dd/mongo/db/query/collation/collator_factory_icu.o build/59f4f0dd/mongo/db/query/collation/collator_interface_icu.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/query/collation/libcollator_icu.a
c++ -o build/59f4f0dd/mongo/db/pipeline/lite_parsed_pipeline.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/lite_parsed_pipeline.cpp
ar rcsTD build/59f4f0dd/mongo/db/libinitialize_snmp.a build/59f4f0dd/mongo/db/initialize_snmp.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libinitialize_snmp.a
c++ -o build/59f4f0dd/mongo/db/initialize_server_security_state.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/initialize_server_security_state.cpp
ar rcsTD build/59f4f0dd/mongo/db/query/collation/libcollator_factory_interface.a build/59f4f0dd/mongo/db/query/collation/collator_factory_interface.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/query/collation/libcollator_factory_interface.a
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/oplog_fetcher.h:42,
                 from src/mongo/db/repl/oplog_fetcher.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/index/wildcard_access_method.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/index/wildcard_access_method.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/oplog_fetcher.h:42,
                 from src/mongo/db/repl/oplog_fetcher.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:37,
                 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/projection.cpp:30:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/oplog_fetcher.h:42,
                 from src/mongo/db/repl/oplog_fetcher.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/projection.cpp:30:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/projection.cpp:30:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/oplog_fetcher.h:42,
                 from src/mongo/db/repl/oplog_fetcher.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/oplog_fetcher.h:42,
                 from src/mongo/db/repl/oplog_fetcher.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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/projection.cpp:30:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/repl/replication_coordinator_impl_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/repl/replication_coordinator_impl_gen.cpp
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/date_time_format_parser.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/log/src/date_time_format_parser.cpp
In file included from src/mongo/db/pipeline/lite_parsed_pipeline.h:38,
                 from src/mongo/db/pipeline/lite_parsed_pipeline.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/query/tailable_mode_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/query/tailable_mode_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/query/tailable_mode_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/query/tailable_mode_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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: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/projection.cpp:30:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/index/wildcard_access_method.h:33,
                 from src/mongo/db/index/wildcard_access_method.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/librw_concern_d.a build/59f4f0dd/mongo/db/read_concern.o build/59f4f0dd/mongo/db/write_concern.o
ar rcsTD build/59f4f0dd/mongo/db/libinitialize_server_security_state.a build/59f4f0dd/mongo/db/initialize_server_security_state.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/librw_concern_d.a
ar rcsTD build/59f4f0dd/mongo/db/fts/libftsmongod.a build/59f4f0dd/mongo/db/fts/ftsmongod.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libinitialize_server_security_state.a
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/fts/libftsmongod.a
c++ -o build/59f4f0dd/mongo/db/transaction_participant.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/transaction_participant.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/index/wildcard_access_method.h:33,
                 from src/mongo/db/index/wildcard_access_method.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/server_transactions_metrics.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/server_transactions_metrics.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/session_txn_record_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/session_txn_record_gen.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/repl/replication_coordinator_impl_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/index/wildcard_access_method.h:33,
                 from src/mongo/db/index/wildcard_access_method.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/index/wildcard_access_method.h:33,
                 from src/mongo/db/index/wildcard_access_method.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from build/59f4f0dd/mongo/db/repl/replication_coordinator_impl_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/repl/replication_coordinator_impl_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/repl/replication_coordinator_impl_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/repl/librollback_idl.a build/59f4f0dd/mongo/db/repl/rollback_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/librollback_idl.a
c++ -o build/59f4f0dd/mongo/db/s/config/configsvr_create_database_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/config/configsvr_create_database_command.cpp
ar rcsTD build/59f4f0dd/mongo/db/repl/liboplog_fetcher.a build/59f4f0dd/mongo/db/repl/oplog_fetcher.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/liboplog_fetcher.a
ar rcsTD build/59f4f0dd/mongo/util/concurrency/libspin_lock.a build/59f4f0dd/mongo/util/concurrency/spin_lock.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/concurrency/libspin_lock.a
ar rcsTD build/59f4f0dd/mongo/util/libquick_exit.a build/59f4f0dd/mongo/util/quick_exit.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/libquick_exit.a
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_merge_spec.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/document_source_merge_spec.cpp
ar rcsTD build/59f4f0dd/mongo/db/query/libquery_request.a build/59f4f0dd/mongo/db/query/query_request.o build/59f4f0dd/mongo/db/query/tailable_mode.o build/59f4f0dd/mongo/db/query/tailable_mode_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/query/libquery_request.a
c++ -o build/59f4f0dd/mongo/db/index/index_access_method_factory_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/index/index_access_method_factory_impl.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/server_transactions_metrics.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/session_txn_record_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/server_transactions_metrics.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/server_transactions_metrics.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_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/59f4f0dd/mongo/db/session_txn_record_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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/uncommitted_collections.h:37,
                 from src/mongo/db/transaction_participant.h:36,
                 from src/mongo/db/transaction_participant.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/server_transactions_metrics.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/uncommitted_collections.h:37,
                 from src/mongo/db/transaction_participant.h:36,
                 from src/mongo/db/transaction_participant.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/session_txn_record_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/session_txn_record_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/catalog/uncommitted_collections.h:37,
                 from src/mongo/db/transaction_participant.h:36,
                 from src/mongo/db/transaction_participant.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/uncommitted_collections.h:37,
                 from src/mongo/db/transaction_participant.h:36,
                 from src/mongo/db/transaction_participant.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/s/config/configsvr_create_database_command.cpp:41:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
In file included from src/mongo/db/pipeline/document_source_merge_spec.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/s/config/configsvr_create_database_command.cpp:41:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_create_database_command.cpp:41:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_create_database_command.cpp:41:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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/index/wildcard_access_method.h:33,
                 from src/mongo/db/index/index_access_method_factory_impl.cpp:42:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/index/haystack_access_method.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/index/haystack_access_method.cpp
ar rcsTD build/59f4f0dd/mongo/db/repl/librepl_coordinator_impl.a build/59f4f0dd/mongo/db/repl/check_quorum_for_config_change.o build/59f4f0dd/mongo/db/repl/repl_set_config_checks.o build/59f4f0dd/mongo/db/repl/replication_coordinator_impl.o build/59f4f0dd/mongo/db/repl/replication_coordinator_impl_elect_v1.o build/59f4f0dd/mongo/db/repl/replication_coordinator_impl_heartbeat.o build/59f4f0dd/mongo/db/repl/vote_requester.o build/59f4f0dd/mongo/db/repl/replication_coordinator_impl_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/librepl_coordinator_impl.a
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/pipeline/document_source_writer.h:36,
                 from src/mongo/db/pipeline/document_source_merge.h:33,
                 from src/mongo/db/pipeline/document_source_merge_spec.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/util/latch_analyzer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/latch_analyzer.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/index/wildcard_access_method.h:33,
                 from src/mongo/db/index/index_access_method_factory_impl.cpp:42:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/index/wildcard_access_method.h:33,
                 from src/mongo/db/index/index_access_method_factory_impl.cpp:42:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/catalog/collection.h:48,
                 from src/mongo/db/catalog_raii.h:33,
                 from src/mongo/db/db_raii.h:34,
                 from src/mongo/db/pipeline/document_source_writer.h:36,
                 from src/mongo/db/pipeline/document_source_merge.h:33,
                 from src/mongo/db/pipeline/document_source_merge_spec.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/pipeline/document_source_writer.h:36,
                 from src/mongo/db/pipeline/document_source_merge.h:33,
                 from src/mongo/db/pipeline/document_source_merge_spec.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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: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/index/wildcard_access_method.h:33,
                 from src/mongo/db/index/index_access_method_factory_impl.cpp:42:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/attribute_name.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/log/src/attribute_name.cpp
Generating build/59f4f0dd/mongo/db/mirror_maestro_gen.cpp
c++ -o build/59f4f0dd/mongo/db/mirror_maestro.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/mirror_maestro.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 src/mongo/db/commands/server_status.h:32,
                 from src/mongo/util/latch_analyzer.h:36,
                 from src/mongo/util/latch_analyzer.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/index/haystack_access_method_internal.h:35,
                 from src/mongo/db/index/haystack_access_method.cpp:44:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/s/query/cluster_query_knobs_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/s/query/cluster_query_knobs_gen.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/index/haystack_access_method_internal.h:35,
                 from src/mongo/db/index/haystack_access_method.cpp:44:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/util/latch_analyzer.h:36,
                 from src/mongo/util/latch_analyzer.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/util/latch_analyzer.h:36,
                 from src/mongo/util/latch_analyzer.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/repl/image_collection_entry_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/repl/image_collection_entry_gen.cpp
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/util/latch_analyzer.h:36,
                 from src/mongo/util/latch_analyzer.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/index/haystack_access_method_internal.h:35,
                 from src/mongo/db/index/haystack_access_method.cpp:44:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/index/haystack_access_method_internal.h:35,
                 from src/mongo/db/index/haystack_access_method.cpp:44:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 src/mongo/db/mirror_maestro.cpp:46:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/mirror_maestro.cpp:46:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/mirror_maestro.cpp:46:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/mirror_maestro.cpp:46:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/s/config/configsvr_ensure_chunk_version_is_greater_than_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/config/configsvr_ensure_chunk_version_is_greater_than_command.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/59f4f0dd/mongo/s/query/cluster_query_knobs_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/repl/image_collection_entry_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/repl/replication_recovery.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/replication_recovery.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/59f4f0dd/mongo/s/query/cluster_query_knobs_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/59f4f0dd/mongo/db/repl/image_collection_entry_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/s/query/cluster_query_knobs_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_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/59f4f0dd/mongo/db/repl/image_collection_entry_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/db/repl/image_collection_entry_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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: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/59f4f0dd/mongo/s/query/cluster_query_knobs_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 src/mongo/db/s/config/configsvr_ensure_chunk_version_is_greater_than_command.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/index/libindex_access_methods.a build/59f4f0dd/mongo/db/index/2d_access_method.o build/59f4f0dd/mongo/db/index/btree_access_method.o build/59f4f0dd/mongo/db/index/fts_access_method.o build/59f4f0dd/mongo/db/index/hash_access_method.o build/59f4f0dd/mongo/db/index/haystack_access_method.o build/59f4f0dd/mongo/db/index/index_access_method_factory_impl.o build/59f4f0dd/mongo/db/index/s2_access_method.o build/59f4f0dd/mongo/db/index/wildcard_access_method.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/index/libindex_access_methods.a
ar rcsTD build/59f4f0dd/mongo/db/storage/kv/libkv_drop_pending_ident_reaper.a build/59f4f0dd/mongo/db/storage/kv/kv_drop_pending_ident_reaper.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/kv/libkv_drop_pending_ident_reaper.a
ar rcsTD build/59f4f0dd/mongo/db/libkeys_collection_client_sharded.a build/59f4f0dd/mongo/db/keys_collection_client_sharded.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libkeys_collection_client_sharded.a
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_ensure_chunk_version_is_greater_than_command.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/iostreams/src/file_descriptor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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/boost-1.70.0 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/iostreams/src/file_descriptor.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_ensure_chunk_version_is_greater_than_command.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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: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_ensure_chunk_version_is_greater_than_command.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/libtransaction.a build/59f4f0dd/mongo/db/retryable_writes_stats.o build/59f4f0dd/mongo/db/server_transactions_metrics.o build/59f4f0dd/mongo/db/session_catalog_mongod.o build/59f4f0dd/mongo/db/transaction_history_iterator.o build/59f4f0dd/mongo/db/transaction_metrics_observer.o build/59f4f0dd/mongo/db/transaction_participant.o build/59f4f0dd/mongo/db/session_txn_record_gen.o build/59f4f0dd/mongo/db/transaction_participant_gen.o build/59f4f0dd/mongo/db/transactions_stats_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libtransaction.a
ar rcsTD build/59f4f0dd/third_party/libshim_kms_message.a build/59f4f0dd/third_party/shim_kms_message.o
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Skipping ranlib for thin archive build/59f4f0dd/third_party/libshim_kms_message.a
ar rcsTD build/59f4f0dd/mongo/db/pipeline/liblite_parsed_document_source.a build/59f4f0dd/mongo/db/pipeline/lite_parsed_document_source.o build/59f4f0dd/mongo/db/pipeline/lite_parsed_pipeline.o
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/pipeline/liblite_parsed_document_source.a
Generating build/59f4f0dd/mongo/db/auth/enable_localhost_auth_bypass_parameter_gen.cpp
c++ -o build/59f4f0dd/mongo/db/auth/authz_session_external_state_server_common.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/authz_session_external_state_server_common.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_raii.h:33,
                 from src/mongo/db/db_raii.h:34,
                 from src/mongo/db/repl/replication_recovery.cpp:39:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/auth/enable_localhost_auth_bypass_parameter_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/auth/enable_localhost_auth_bypass_parameter_gen.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_raii.h:33,
                 from src/mongo/db/db_raii.h:34,
                 from src/mongo/db/repl/replication_recovery.cpp:39:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/idl/libserver_parameter.a build/59f4f0dd/mongo/idl/server_parameter.o build/59f4f0dd/mongo/idl/server_parameter_gen.o build/59f4f0dd/mongo/idl/server_parameter_with_storage.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/idl/libserver_parameter.a
c++ -o build/59f4f0dd/mongo/db/query/projection_parser.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/projection_parser.cpp
c++ -o build/59f4f0dd/mongo/db/s/config/sharding_catalog_manager.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/config/sharding_catalog_manager.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_raii.h:33,
                 from src/mongo/db/db_raii.h:34,
                 from src/mongo/db/repl/replication_recovery.cpp:39:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/repl/replication_recovery.cpp:39:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/s/query/libcluster_query.a build/59f4f0dd/mongo/s/query/cluster_find.o build/59f4f0dd/mongo/s/query/cluster_query_knobs_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/query/libcluster_query.a
ar rcsTD build/59f4f0dd/mongo/s/catalog/libdist_lock_catalog_interface.a build/59f4f0dd/mongo/s/catalog/dist_lock_catalog.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/catalog/libdist_lock_catalog_interface.a
c++ -o build/59f4f0dd/mongo/db/s/move_chunk_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/move_chunk_command.cpp
ar rcsTD build/59f4f0dd/mongo/util/liblatch_analyzer.a build/59f4f0dd/mongo/util/latch_analyzer.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/liblatch_analyzer.a
c++ -o build/59f4f0dd/mongo/db/query/plan_cache_indexability.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/plan_cache_indexability.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/auth/enable_localhost_auth_bypass_parameter_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/auth/enable_localhost_auth_bypass_parameter_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/query/canonical_query_encoder.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/canonical_query_encoder.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/auth/enable_localhost_auth_bypass_parameter_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/auth/enable_localhost_auth_bypass_parameter_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/query/plan_cache.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/plan_cache.cpp
In file included from src/mongo/db/matcher/expression_parser.h:37,
                 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/projection_parser.h:32,
                 from src/mongo/db/query/projection_parser.cpp:30:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/projection_parser.h:32,
                 from src/mongo/db/query/projection_parser.cpp:30:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/projection_parser.h:32,
                 from src/mongo/db/query/projection_parser.cpp:30:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/projection_executor.h:38,
                 from src/mongo/db/exec/projection_executor_utils.h:33,
                 from src/mongo/db/query/plan_cache_indexability.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/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/projection_parser.h:32,
                 from src/mongo/db/query/projection_parser.cpp:30:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/s/move_chunk_command.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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_executor_utils.h:33,
                 from src/mongo/db/query/plan_cache_indexability.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_executor_utils.h:33,
                 from src/mongo/db/query/plan_cache_indexability.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_executor_utils.h:33,
                 from src/mongo/db/query/plan_cache_indexability.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from src/mongo/db/s/move_chunk_command.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/move_chunk_command.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/move_chunk_command.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/query/planner_ixselect.h:32,
                 from src/mongo/db/query/plan_cache_indexability.cpp:47:
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchObjectMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:85:25: warning: redundant move in return statement [-Wredundant-move]
   85 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:85:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchValueMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:140:25: warning: redundant move in return statement [-Wredundant-move]
  140 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:140:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::SizeMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:177:25: warning: redundant move in return statement [-Wredundant-move]
  177 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:177:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/plan_cache.h:36,
                 from src/mongo/db/query/canonical_query_encoder.h:32,
                 from src/mongo/db/query/canonical_query_encoder.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616: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/projection_parser.h:32,
                 from src/mongo/db/query/projection_parser.cpp:30:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/canonical_query_encoder.h:32,
                 from src/mongo/db/query/canonical_query_encoder.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/query/planner_access.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/planner_access.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/plan_cache.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/plan_cache.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/canonical_query_encoder.h:32,
                 from src/mongo/db/query/canonical_query_encoder.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/canonical_query_encoder.h:32,
                 from src/mongo/db/query/canonical_query_encoder.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/auth/libauthservercommon.a build/59f4f0dd/mongo/db/auth/authz_session_external_state_server_common.o build/59f4f0dd/mongo/db/auth/sasl_commands.o build/59f4f0dd/mongo/db/auth/enable_localhost_auth_bypass_parameter_gen.o
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/plan_cache.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/auth/libauthservercommon.a
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/query/expression_index_knobs_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/query/expression_index_knobs_gen.cpp
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/plan_cache.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/query/canonical_query_encoder.cpp:39:
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchObjectMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:85:25: warning: redundant move in return statement [-Wredundant-move]
   85 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:85:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchValueMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:140:25: warning: redundant move in return statement [-Wredundant-move]
  140 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:140:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::SizeMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:177:25: warning: redundant move in return statement [-Wredundant-move]
  177 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:177: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_executor_utils.h:33,
                 from src/mongo/db/query/plan_cache_indexability.cpp:38:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/query/plan_cache.cpp:46:
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchObjectMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:85:25: warning: redundant move in return statement [-Wredundant-move]
   85 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:85:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchValueMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:140:25: warning: redundant move in return statement [-Wredundant-move]
  140 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:140:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::SizeMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:177:25: warning: redundant move in return statement [-Wredundant-move]
  177 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:177:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/query/expression_index.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/expression_index.cpp
c++ -o build/59f4f0dd/mongo/db/query/planner_ixselect.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/planner_ixselect.cpp
c++ -o build/59f4f0dd/mongo/db/query/index_entry.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/index_entry.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/planner_access.h:32,
                 from src/mongo/db/query/planner_access.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574: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/59f4f0dd/mongo/db/query/expression_index_knobs_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/planner_access.h:32,
                 from src/mongo/db/query/planner_access.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/canonical_query_encoder.h:32,
                 from src/mongo/db/query/canonical_query_encoder.cpp:34:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 build/59f4f0dd/mongo/db/query/expression_index_knobs_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/planner_access.h:32,
                 from src/mongo/db/query/planner_access.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/planner_access.h:32,
                 from src/mongo/db/query/planner_access.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/query/expression_index_knobs_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/query/expression_index_knobs_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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: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/plan_cache.cpp:34:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/query/query_planner_common.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/query_planner_common.cpp
In file included from src/mongo/db/query/planner_access.cpp:43:
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchObjectMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:85:25: warning: redundant move in return statement [-Wredundant-move]
   85 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:85:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchValueMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:140:25: warning: redundant move in return statement [-Wredundant-move]
  140 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:140:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::SizeMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:177:25: warning: redundant move in return statement [-Wredundant-move]
  177 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:177:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:37,
                 from src/mongo/db/query/index_bounds_builder.h:34,
                 from src/mongo/db/query/expression_index.h:38,
                 from src/mongo/db/query/expression_index.cpp:30:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/index/index_access_method_factory.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/index/index_access_method_factory.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/query/index_bounds_builder.h:34,
                 from src/mongo/db/query/expression_index.h:38,
                 from src/mongo/db/query/expression_index.cpp:30:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/query/index_bounds_builder.h:34,
                 from src/mongo/db/query/expression_index.h:38,
                 from src/mongo/db/query/expression_index.cpp:30:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/query/planner_ixselect.h:32,
                 from src/mongo/db/query/planner_ixselect.cpp:32:
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchObjectMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:85:25: warning: redundant move in return statement [-Wredundant-move]
   85 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:85:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchValueMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:140:25: warning: redundant move in return statement [-Wredundant-move]
  140 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:140:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::SizeMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:177:25: warning: redundant move in return statement [-Wredundant-move]
  177 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:177: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/query/index_bounds_builder.h:34,
                 from src/mongo/db/query/expression_index.h:38,
                 from src/mongo/db/query/expression_index.cpp:30:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/query/planner_access.cpp: In static member function 'static std::unique_ptr<mongo::QuerySolutionNode> mongo::QueryPlannerAccess::makeCollectionScan(const mongo::CanonicalQuery&, bool, const mongo::QueryPlannerParams&)':
src/mongo/db/query/planner_access.cpp:260:21: warning: redundant move in return statement [-Wredundant-move]
  260 |     return std::move(csn);
      |            ~~~~~~~~~^~~~~
src/mongo/db/query/planner_access.cpp:260:21: note: remove 'std::move' call
src/mongo/db/query/planner_access.cpp: In static member function 'static std::unique_ptr<mongo::QuerySolutionNode> mongo::QueryPlannerAccess::makeLeafNode(const mongo::CanonicalQuery&, const mongo::IndexEntry&, size_t, const mongo::MatchExpression*, mongo::IndexBoundsBuilder::BoundsTightness*)':
src/mongo/db/query/planner_access.cpp:294:29: warning: redundant move in return statement [-Wredundant-move]
  294 |             return std::move(ret);
      |                    ~~~~~~~~~^~~~~
src/mongo/db/query/planner_access.cpp:294:29: 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/planner_ixselect.h:33,
                 from src/mongo/db/query/planner_ixselect.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/query/planner_access.cpp:302:29: warning: redundant move in return statement [-Wredundant-move]
  302 |             return std::move(ret);
      |                    ~~~~~~~~~^~~~~
src/mongo/db/query/planner_access.cpp:302:29: note: remove 'std::move' call
src/mongo/db/query/planner_access.cpp:321:25: warning: redundant move in return statement [-Wredundant-move]
  321 |         return std::move(ret);
      |                ~~~~~~~~~^~~~~
src/mongo/db/query/planner_access.cpp:321:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/query/planner_access.cpp:342:25: warning: redundant move in return statement [-Wredundant-move]
  342 |         return std::move(isn);
      |                ~~~~~~~~~^~~~~
src/mongo/db/query/planner_access.cpp:342:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/query/planner_access.cpp: In static member function 'static std::unique_ptr<mongo::QuerySolutionNode> mongo::QueryPlannerAccess::buildIndexedAnd(const mongo::CanonicalQuery&, mongo::MatchExpression*, std::unique_ptr<mongo::MatchExpression>, const std::vector<mongo::IndexEntry>&, const mongo::QueryPlannerParams&)':
src/mongo/db/query/planner_access.cpp:1141:25: warning: redundant move in return statement [-Wredundant-move]
 1141 |         return std::move(fetch);
      |                ~~~~~~~~~^~~~~~~
src/mongo/db/query/planner_access.cpp:1141:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/query/planner_access.cpp: In static member function 'static std::unique_ptr<mongo::QuerySolutionNode> mongo::QueryPlannerAccess::_buildIndexedDataAccess(const mongo::CanonicalQuery&, mongo::MatchExpression*, std::unique_ptr<mongo::MatchExpression>, const std::vector<mongo::IndexEntry>&, const mongo::QueryPlannerParams&)':
src/mongo/db/query/planner_access.cpp:1308:33: warning: redundant move in return statement [-Wredundant-move]
 1308 |                 return std::move(fetch);
      |                        ~~~~~~~~~^~~~~~~
src/mongo/db/query/planner_access.cpp:1308:33: note: remove 'std::move' call
src/mongo/db/query/planner_access.cpp:1332:29: warning: redundant move in return statement [-Wredundant-move]
 1332 |             return std::move(fetch);
      |                    ~~~~~~~~~^~~~~~~
src/mongo/db/query/planner_access.cpp:1332:29: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/planner_ixselect.h:33,
                 from src/mongo/db/query/planner_ixselect.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/planner_ixselect.h:33,
                 from src/mongo/db/query/planner_ixselect.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/planner_ixselect.h:33,
                 from src/mongo/db/query/planner_ixselect.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/auth/authorization_manager_global.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/authorization_manager_global.cpp
c++ -o build/59f4f0dd/mongo/db/commands/authentication_commands.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/commands/authentication_commands.cpp
In file included from src/mongo/db/matcher/expression_parser.h:39,
                 from src/mongo/db/query/index_bounds_builder.h:34,
                 from src/mongo/db/query/expression_index.h:38,
                 from src/mongo/db/query/expression_index.cpp:30:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
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/planner_access.h:32,
                 from src/mongo/db/query/planner_access.cpp:34:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/auth/authz_session_external_state_d.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/authz_session_external_state_d.cpp
In file included from src/mongo/db/matcher/expression_parser.h:37,
                 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_ast_path_tracking_visitor.h:36,
                 from src/mongo/db/query/query_planner_common.cpp:35:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_ast_path_tracking_visitor.h:36,
                 from src/mongo/db/query/query_planner_common.cpp:35:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_ast_path_tracking_visitor.h:36,
                 from src/mongo/db/query/query_planner_common.cpp:35:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/copyable_match_expression.h:32,
                 from src/mongo/db/query/projection_ast.h:33,
                 from src/mongo/db/query/projection_ast_path_tracking_visitor.h:36,
                 from src/mongo/db/query/query_planner_common.cpp:35:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/auth/authz_manager_external_state_d.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/authz_manager_external_state_d.cpp
ar rcsTD build/59f4f0dd/mongo/db/index/libindex_access_method_factory.a build/59f4f0dd/mongo/db/index/index_access_method_factory.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/index/libindex_access_method_factory.a
c++ -o build/59f4f0dd/mongo/db/field_ref_set.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/field_ref_set.cpp
ar rcsTD build/59f4f0dd/mongo/db/commands/libfsync_locked.a build/59f4f0dd/mongo/db/commands/fsync_locked.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/commands/libfsync_locked.a
ar rcsTD build/59f4f0dd/mongo/db/liblogical_session_id_helpers.a build/59f4f0dd/mongo/db/logical_session_id_helpers.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/liblogical_session_id_helpers.a
c++ -o build/59f4f0dd/mongo/s/client/shard_remote_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/s/client/shard_remote_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 src/mongo/db/commands/authentication_commands.cpp:54:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/auth/libauthorization_manager_global.a build/59f4f0dd/mongo/db/auth/authorization_manager_global.o build/59f4f0dd/mongo/db/auth/authorization_manager_global_parameters_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/auth/libauthorization_manager_global.a
c++ -o build/59f4f0dd/mongo/rpc/legacy_request.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/rpc/legacy_request.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/commands/authentication_commands.cpp:54:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/authentication_commands.cpp:54:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/authentication_commands.cpp:54:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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: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_ast_path_tracking_visitor.h:36,
                 from src/mongo/db/query/query_planner_common.cpp:35:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/commands/liblist_databases_command.a build/59f4f0dd/mongo/db/commands/list_databases_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/commands/liblist_databases_command.a
ar rcsTD build/59f4f0dd/mongo/util/libdebugger.a build/59f4f0dd/mongo/util/debugger.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/libdebugger.a
c++ -o build/59f4f0dd/mongo/db/ttl_collection_cache.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/ttl_collection_cache.cpp
ar rcsTD build/59f4f0dd/mongo/db/commands/libtxn_cmd_request.a build/59f4f0dd/mongo/db/commands/txn_cmds_gen.o build/59f4f0dd/mongo/db/commands/txn_two_phase_commit_cmds_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/commands/libtxn_cmd_request.a
c++ -o build/59f4f0dd/mongo/db/snapshot_window_util.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/snapshot_window_util.cpp
ar rcsTD build/59f4f0dd/mongo/util/libsecure_zero_memory.a build/59f4f0dd/mongo/util/secure_zero_memory.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/libsecure_zero_memory.a
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/59f4f0dd/mongo/s/client/shard_remote_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/s/cleanup_orphaned_cmd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/cleanup_orphaned_cmd.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_raii.h:33,
                 from src/mongo/db/db_raii.h:34,
                 from src/mongo/db/auth/authz_manager_external_state_d.cpp:41:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/storage/biggie/biggie_kv_engine.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/biggie/biggie_kv_engine.cpp
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/auth/authz_manager_external_state_d.cpp:41:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/query/libquery_planner.a build/59f4f0dd/mongo/db/query/canonical_query.o build/59f4f0dd/mongo/db/query/canonical_query_encoder.o build/59f4f0dd/mongo/db/query/index_tag.o build/59f4f0dd/mongo/db/query/plan_cache.o build/59f4f0dd/mongo/db/query/plan_cache_indexability.o build/59f4f0dd/mongo/db/query/plan_enumerator.o build/59f4f0dd/mongo/db/query/planner_access.o build/59f4f0dd/mongo/db/query/planner_wildcard_helpers.o build/59f4f0dd/mongo/db/query/planner_analysis.o build/59f4f0dd/mongo/db/query/planner_ixselect.o build/59f4f0dd/mongo/db/query/query_planner.o build/59f4f0dd/mongo/db/query/expression_index.o build/59f4f0dd/mongo/db/query/index_bounds.o build/59f4f0dd/mongo/db/query/index_bounds_builder.o build/59f4f0dd/mongo/db/query/index_entry.o build/59f4f0dd/mongo/db/query/interval.o build/59f4f0dd/mongo/db/query/query_planner_common.o build/59f4f0dd/mongo/db/query/query_settings.o build/59f4f0dd/mongo/db/query/query_solution.o build/59f4f0dd/mongo/db/query/expression_index_knobs_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/query/libquery_planner.a
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/59f4f0dd/mongo/s/client/shard_remote_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/severity_level.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/log/src/severity_level.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/s/client/shard_remote_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/s/client/shard_remote_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_raii.h:33,
                 from src/mongo/db/db_raii.h:34,
                 from src/mongo/db/auth/authz_manager_external_state_d.cpp:41:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/auth/authz_manager_external_state_d.cpp:41:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/s/balancer/scoped_migration_request.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/balancer/scoped_migration_request.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/s/cleanup_orphaned_cmd.cpp:40:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_raii.h:33,
                 from src/mongo/db/s/cleanup_orphaned_cmd.cpp:40:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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_raii.h:33,
                 from src/mongo/db/s/cleanup_orphaned_cmd.cpp:40:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/curop_metrics.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/curop_metrics.cpp
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/s/cleanup_orphaned_cmd.cpp:40:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/libsnapshot_window_util.a build/59f4f0dd/mongo/db/snapshot_window_util.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libsnapshot_window_util.a
ar rcsTD build/59f4f0dd/mongo/db/libgeneric_cursor.a build/59f4f0dd/mongo/db/generic_cursor_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libgeneric_cursor.a
c++ -o build/59f4f0dd/mongo/crypto/sha1_block.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/crypto/sha1_block.cpp
ar rcsTD build/59f4f0dd/mongo/db/libttl_collection_cache.a build/59f4f0dd/mongo/db/ttl_collection_cache.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libttl_collection_cache.a
c++ -o build/59f4f0dd/mongo/db/s/balancer/type_migration.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/balancer/type_migration.cpp
c++ -o build/59f4f0dd/mongo/db/s/balancer/balancer_chunk_selection_policy.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/balancer/balancer_chunk_selection_policy.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/storage/biggie/libstorage_biggie_core.a build/59f4f0dd/mongo/db/storage/biggie/biggie_kv_engine.o build/59f4f0dd/mongo/db/storage/biggie/biggie_record_store.o build/59f4f0dd/mongo/db/storage/biggie/biggie_recovery_unit.o build/59f4f0dd/mongo/db/storage/biggie/biggie_sorted_impl.o build/59f4f0dd/mongo/db/storage/biggie/biggie_visibility_manager.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/biggie/libstorage_biggie_core.a
src/mongo/db/s/balancer/scoped_migration_request.cpp: In static member function 'static mongo::StatusWith<mongo::ScopedMigrationRequest> mongo::ScopedMigrationRequest::writeMigration(mongo::OperationContext*, const mongo::MigrateInfo&, bool)':
src/mongo/db/s/balancer/scoped_migration_request.cpp:174:25: warning: redundant move in return statement [-Wredundant-move]
  174 |         return std::move(scopedMigrationRequest);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/s/balancer/scoped_migration_request.cpp:174:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/s/balancer/cluster_statistics_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/balancer/cluster_statistics_impl.cpp
c++ -o build/59f4f0dd/mongo/db/s/split_chunk_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/split_chunk_command.cpp
ar rcsTD build/59f4f0dd/mongo/db/auth/libauthmongod.a build/59f4f0dd/mongo/db/auth/authz_manager_external_state_d.o build/59f4f0dd/mongo/db/auth/authz_session_external_state_d.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/auth/libauthmongod.a
c++ -o build/59f4f0dd/mongo/db/s/migration_destination_manager_legacy_commands.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/migration_destination_manager_legacy_commands.cpp
c++ -o build/59f4f0dd/mongo/db/s/config/configsvr_drop_database_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/config/configsvr_drop_database_command.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/curop_metrics.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/curop_metrics.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/catalog/collection_catalog.h:36,
                 from src/mongo/db/curop.h:35,
                 from src/mongo/db/curop_metrics.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/curop_metrics.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/s/config/configsvr_clear_jumbo_flag_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/config/configsvr_clear_jumbo_flag_command.cpp
c++ -o build/59f4f0dd/mongo/db/s/sharding_server_status.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/sharding_server_status.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/split_chunk_command.cpp:41:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/s/migration_destination_manager_legacy_commands.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/s/flush_routing_table_cache_updates_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/flush_routing_table_cache_updates_command.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/s/split_chunk_command.cpp:41:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/split_chunk_command.cpp:41:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_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/migration_destination_manager_legacy_commands.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/split_chunk_command.cpp:41:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/migration_destination_manager_legacy_commands.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/migration_destination_manager_legacy_commands.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/s/config/configsvr_drop_database_command.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/s/config/configsvr_drop_database_command.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_drop_database_command.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/s/libbalancer.a build/59f4f0dd/mongo/db/s/balancer/balancer_chunk_selection_policy_impl.o build/59f4f0dd/mongo/db/s/balancer/balancer_chunk_selection_policy.o build/59f4f0dd/mongo/db/s/balancer/balancer_policy.o build/59f4f0dd/mongo/db/s/balancer/balancer.o build/59f4f0dd/mongo/db/s/balancer/cluster_statistics_impl.o build/59f4f0dd/mongo/db/s/balancer/cluster_statistics.o build/59f4f0dd/mongo/db/s/balancer/migration_manager.o build/59f4f0dd/mongo/db/s/balancer/scoped_migration_request.o build/59f4f0dd/mongo/db/s/balancer/type_migration.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/s/libbalancer.a
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_drop_database_command.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/s/config/configsvr_drop_collection_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/config/configsvr_drop_collection_command.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 src/mongo/db/s/config/configsvr_clear_jumbo_flag_command.cpp:36:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_clear_jumbo_flag_command.cpp:36:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/s/flush_routing_table_cache_updates_command.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/libcurop_metrics.a build/59f4f0dd/mongo/db/curop_metrics.o
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libcurop_metrics.a
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/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_clear_jumbo_flag_command.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/s/get_shard_version_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/get_shard_version_command.cpp
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_raii.h:33,
                 from src/mongo/db/s/flush_routing_table_cache_updates_command.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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_clear_jumbo_flag_command.cpp:36:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/commands/server_status.h:32,
                 from src/mongo/db/s/sharding_server_status.cpp:33:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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_raii.h:33,
                 from src/mongo/db/s/flush_routing_table_cache_updates_command.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/s/flush_routing_table_cache_updates_command.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/commands/server_status.h:32,
                 from src/mongo/db/s/sharding_server_status.cpp:33:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/s/config/configsvr_drop_collection_command.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/s/config/configsvr_refine_collection_shard_key_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/config/configsvr_refine_collection_shard_key_command.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/sharding_server_status.cpp:33:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/server_status.h:32,
                 from src/mongo/db/s/sharding_server_status.cpp:33:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from src/mongo/db/s/config/configsvr_drop_collection_command.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_drop_collection_command.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/s/config/configsvr_remove_shard_from_zone_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/config/configsvr_remove_shard_from_zone_command.cpp
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_drop_collection_command.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/s/get_shard_version_command.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_raii.h:33,
                 from src/mongo/db/s/get_shard_version_command.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/s/config/configsvr_remove_shard_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/config/configsvr_remove_shard_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/catalog/collection.h:48,
                 from src/mongo/db/catalog_raii.h:33,
                 from src/mongo/db/s/get_shard_version_command.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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: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/s/get_shard_version_command.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/s/config/configsvr_refine_collection_shard_key_command.cpp:36:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/s/config/configsvr_move_primary_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/config/configsvr_move_primary_command.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/s/config/configsvr_refine_collection_shard_key_command.cpp:36:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/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_remove_shard_from_zone_command.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_refine_collection_shard_key_command.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_refine_collection_shard_key_command.cpp:36:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from src/mongo/db/s/config/configsvr_remove_shard_from_zone_command.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_remove_shard_from_zone_command.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/s/sharding_state_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/sharding_state_command.cpp
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_remove_shard_from_zone_command.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/s/config/configsvr_remove_shard_command.cpp:41:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/s/config/configsvr_control_balancer_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/config/configsvr_control_balancer_command.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/s/config/configsvr_remove_shard_command.cpp:41:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
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_remove_shard_command.cpp:41:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_remove_shard_command.cpp:41:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/s/config/configsvr_shard_collection_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/config/configsvr_shard_collection_command.cpp
c++ -o build/59f4f0dd/mongo/db/s/config/configsvr_create_collection_command.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/config/configsvr_create_collection_command.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_move_primary_command.cpp:40:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/s/config/configsvr_move_primary_command.cpp:40:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574: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/s/sharding_state_command.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_move_primary_command.cpp:40:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_move_primary_command.cpp:40:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/sharding_state_command.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/sharding_state_command.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/sharding_state_command.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/s/config/configsvr_control_balancer_command.cpp:36:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/s/config/configsvr_control_balancer_command.cpp:36:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
gcc -o build/59f4f0dd/third_party/libstemmer_c/libstemmer/libstemmer_utf8.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -fno-strict-overflow -DNDEBUG -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/libstemmer_c/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/libstemmer_c/libstemmer/libstemmer_utf8.c
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616: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/s/config/configsvr_shard_collection_command.cpp:39:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_control_balancer_command.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/third_party/s2/s2cellunion.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DDEBUG_MODE=false -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/third_party/s2/s2cellunion.cc
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/catalog/database_holder.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/database_holder.cpp
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_control_balancer_command.cpp:36:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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 src/mongo/db/s/config/configsvr_create_collection_command.cpp:41:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/util/net/libsocket.a build/59f4f0dd/mongo/util/net/sock.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/net/libsocket.a
ar rcsTD build/59f4f0dd/mongo/db/catalog/libmulti_index_block.a build/59f4f0dd/mongo/db/catalog/multi_index_block.o build/59f4f0dd/mongo/db/catalog/multi_index_block_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/catalog/libmulti_index_block.a
c++ -o build/59f4f0dd/mongo/db/query/collection_query_info.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/collection_query_info.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/s/config/configsvr_create_collection_command.cpp:41:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
Generating build/59f4f0dd/mongo/rpc/object_check_gen.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_create_collection_command.cpp:41:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/rpc/object_check_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/rpc/object_check_gen.cpp
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_create_collection_command.cpp:41:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/catalog/database_holder.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/catalog/database_holder.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/catalog/database_holder.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/commands/libmap_reduce_parser.a build/59f4f0dd/mongo/db/commands/map_reduce_out_options.o build/59f4f0dd/mongo/db/commands/map_reduce_gen.o
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/catalog/database_holder.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/commands/libmap_reduce_parser.a
c++ -o build/59f4f0dd/mongo/db/stats/latency_server_status_section.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/stats/latency_server_status_section.cpp
ar rcsTD build/59f4f0dd/mongo/db/catalog/libvalidate_state.a build/59f4f0dd/mongo/db/catalog/validate_state.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/catalog/libvalidate_state.a
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/repl/data_replicator_external_state_initial_sync.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/data_replicator_external_state_initial_sync.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/query/collection_query_info.h:34,
                 from src/mongo/db/query/collection_query_info.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/query/collection_query_info.h:34,
                 from src/mongo/db/query/collection_query_info.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/rpc/object_check_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/query/collection_query_info.h:34,
                 from src/mongo/db/query/collection_query_info.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/query/collection_query_info.h:34,
                 from src/mongo/db/query/collection_query_info.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/fts/unicode/string.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/fts/unicode/string.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 build/59f4f0dd/mongo/rpc/object_check_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/rpc/object_check_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/rpc/object_check_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/pipeline/accumulator_merge_objects.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/accumulator_merge_objects.cpp
ar rcsTD build/59f4f0dd/mongo/db/s/libsharding_commands_d.a build/59f4f0dd/mongo/db/s/add_shard_cmd.o build/59f4f0dd/mongo/db/s/auto_split_vector_command.o build/59f4f0dd/mongo/db/s/check_sharding_index_command.o build/59f4f0dd/mongo/db/s/cleanup_orphaned_cmd.o build/59f4f0dd/mongo/db/s/clone_catalog_data_command.o build/59f4f0dd/mongo/db/s/clone_collection_options_from_primary_shard_cmd.o build/59f4f0dd/mongo/db/s/config/configsvr_add_shard_command.o build/59f4f0dd/mongo/db/s/config/configsvr_add_shard_to_zone_command.o build/59f4f0dd/mongo/db/s/config/configsvr_balancer_collection_status_command.o build/59f4f0dd/mongo/db/s/config/configsvr_clear_jumbo_flag_command.o build/59f4f0dd/mongo/db/s/config/configsvr_commit_chunk_migration_command.o build/59f4f0dd/mongo/db/s/config/configsvr_commit_move_primary_command.o build/59f4f0dd/mongo/db/s/config/configsvr_control_balancer_command.o build/59f4f0dd/mongo/db/s/config/configsvr_create_collection_command.o build/59f4f0dd/mongo/db/s/config/configsvr_create_database_command.o build/59f4f0dd/mongo/db/s/config/configsvr_drop_collection_command.o build/59f4f0dd/mongo/db/s/config/configsvr_drop_database_command.o build/59f4f0dd/mongo/db/s/config/configsvr_enable_sharding_command.o build/59f4f0dd/mongo/db/s/config/configsvr_ensure_chunk_version_is_greater_than_command.o build/59f4f0dd/mongo/db/s/config/configsvr_merge_chunk_command.o build/59f4f0dd/mongo/db/s/config/configsvr_merge_chunks_command.o build/59f4f0dd/mongo/db/s/config/configsvr_move_chunk_command.o build/59f4f0dd/mongo/db/s/config/configsvr_move_primary_command.o build/59f4f0dd/mongo/db/s/config/configsvr_refine_collection_shard_key_command.o build/59f4f0dd/mongo/db/s/config/configsvr_remove_shard_command.o build/59f4f0dd/mongo/db/s/config/configsvr_remove_shard_from_zone_command.o build/59f4f0dd/mongo/db/s/config/configsvr_repair_sharded_collection_chunks_history_command.o build/59f4f0dd/mongo/db/s/config/configsvr_shard_collection_command.o build/59f4f0dd/mongo/db/s/config/configsvr_split_chunk_command.o build/59f4f0dd/mongo/db/s/config/configsvr_update_zone_key_range_command.o build/59f4f0dd/mongo/db/s/flush_database_cache_updates_command.o build/59f4f0dd/mongo/db/s/flush_routing_table_cache_updates_command.o build/59f4f0dd/mongo/db/s/get_database_version_command.o build/59f4f0dd/mongo/db/s/get_shard_version_command.o build/59f4f0dd/mongo/db/s/merge_chunks_command.o build/59f4f0dd/mongo/db/s/migration_chunk_cloner_source_legacy_commands.o build/59f4f0dd/mongo/db/s/migration_destination_manager_legacy_commands.o build/59f4f0dd/mongo/db/s/move_chunk_command.o build/59f4f0dd/mongo/db/s/move_primary_command.o build/59f4f0dd/mongo/db/s/set_shard_version_command.o build/59f4f0dd/mongo/db/s/sharding_server_status.o build/59f4f0dd/mongo/db/s/sharding_state_command.o build/59f4f0dd/mongo/db/s/shardsvr_set_allow_migrations_command.o build/59f4f0dd/mongo/db/s/shardsvr_shard_collection.o build/59f4f0dd/mongo/db/s/split_chunk_command.o build/59f4f0dd/mongo/db/s/split_vector_command.o build/59f4f0dd/mongo/db/s/txn_two_phase_commit_cmds.o build/59f4f0dd/mongo/db/s/unset_sharding_command.o build/59f4f0dd/mongo/db/s/wait_for_ongoing_chunk_splits_command.o
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/s/libsharding_commands_d.a
ar rcsTD build/59f4f0dd/mongo/util/libicu.a build/59f4f0dd/mongo/util/icu.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/libicu.a
c++ -o build/59f4f0dd/mongo/db/mirror_maestro_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/mirror_maestro_gen.cpp
ar rcsTD build/59f4f0dd/mongo/executor/libnetwork_interface_factory.a build/59f4f0dd/mongo/executor/network_interface_factory.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/executor/libnetwork_interface_factory.a
ar rcsTD build/59f4f0dd/mongo/db/index/libindex_build_interceptor.a build/59f4f0dd/mongo/db/index/index_build_interceptor.o build/59f4f0dd/mongo/db/index/index_build_interceptor_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/index/libindex_build_interceptor.a
ar rcsTD build/59f4f0dd/mongo/db/libindex_builds_coordinator_interface.a build/59f4f0dd/mongo/db/index_builds_coordinator.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libindex_builds_coordinator_interface.a
ar rcsTD build/59f4f0dd/mongo/db/storage/libflow_control_parameters.a build/59f4f0dd/mongo/db/storage/flow_control_parameters_gen.o
In file included from src/mongo/db/query/planner_ixselect.h:32,
                 from src/mongo/db/query/collection_query_info.cpp:49:
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchObjectMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:85:25: warning: redundant move in return statement [-Wredundant-move]
   85 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:85:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchValueMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:140:25: warning: redundant move in return statement [-Wredundant-move]
  140 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:140:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::SizeMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_array.h:177:25: warning: redundant move in return statement [-Wredundant-move]
  177 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_array.h:177:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/libflow_control_parameters.a
ar rcsTD build/59f4f0dd/mongo/util/libperiodic_runner.a build/59f4f0dd/mongo/util/periodic_runner.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/libperiodic_runner.a
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/stats/latency_server_status_section.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/util/alarm.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/alarm.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/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/data_replicator_external_state_impl.h:32,
                 from src/mongo/db/repl/data_replicator_external_state_initial_sync.h:32,
                 from src/mongo/db/repl/data_replicator_external_state_initial_sync.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/repl/libimage_collection_entry.a build/59f4f0dd/mongo/db/repl/image_collection_entry_gen.o
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libimage_collection_entry.a
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/data_replicator_external_state_impl.h:32,
                 from src/mongo/db/repl/data_replicator_external_state_initial_sync.h:32,
                 from src/mongo/db/repl/data_replicator_external_state_initial_sync.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/repl/election_reason_counter.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/election_reason_counter.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/commands/server_status.h:32,
                 from src/mongo/db/stats/latency_server_status_section.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616: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/data_replicator_external_state_impl.h:32,
                 from src/mongo/db/repl/data_replicator_external_state_initial_sync.h:32,
                 from src/mongo/db/repl/data_replicator_external_state_initial_sync.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/data_replicator_external_state_impl.h:32,
                 from src/mongo/db/repl/data_replicator_external_state_initial_sync.h:32,
                 from src/mongo/db/repl/data_replicator_external_state_initial_sync.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/stats/latency_server_status_section.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/server_status.h:32,
                 from src/mongo/db/stats/latency_server_status_section.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/pipeline/expression.h:47,
                 from src/mongo/db/pipeline/accumulator.h:43,
                 from src/mongo/db/pipeline/accumulator_merge_objects.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/rpc/librpc.a build/59f4f0dd/mongo/rpc/factory.o build/59f4f0dd/mongo/rpc/object_check.o build/59f4f0dd/mongo/rpc/legacy_request.o build/59f4f0dd/mongo/rpc/legacy_request_builder.o build/59f4f0dd/mongo/rpc/legacy_reply.o build/59f4f0dd/mongo/rpc/legacy_reply_builder.o build/59f4f0dd/mongo/rpc/reply_builder_interface.o build/59f4f0dd/mongo/rpc/object_check_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/rpc/librpc.a
c++ -o build/59f4f0dd/mongo/db/repl/election_reason_counter_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/repl/election_reason_counter_gen.cpp
ar rcsTD build/59f4f0dd/mongo/util/libalarm.a build/59f4f0dd/mongo/util/alarm.o build/59f4f0dd/mongo/util/alarm_runner_background_thread.o
ar rcsTD build/59f4f0dd/mongo/db/catalog/libindex_timestamp_helper.a build/59f4f0dd/mongo/db/catalog/index_timestamp_helper.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/libalarm.a
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/query/collection_query_info.h:34,
                 from src/mongo/db/query/collection_query_info.cpp:34:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/catalog/libindex_timestamp_helper.a
c++ -o build/59f4f0dd/mongo/db/pipeline/process_interface/mongod_process_interface_factory.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/process_interface/mongod_process_interface_factory.cpp
c++ -o build/59f4f0dd/third_party/s2/s2cap.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DDEBUG_MODE=false -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/third_party/s2/s2cap.cc
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/59f4f0dd/mongo/db/mirror_maestro_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
In file included from src/mongo/db/pipeline/accumulator.h:43,
                 from src/mongo/db/pipeline/accumulator_merge_objects.cpp:32:
src/mongo/db/pipeline/expression.h: In instantiation of 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionFromAccumulator<mongo::AccumulatorMergeObjects>]':
src/mongo/db/pipeline/accumulator_merge_objects.cpp:46:1:   required from here
src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]
  350 |         return std::move(expr);
      |                              ^
src/mongo/db/pipeline/expression.h:350: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 build/59f4f0dd/mongo/db/mirror_maestro_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/mirror_maestro_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/mirror_maestro_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/third_party/s2/s2polygonbuilder.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DDEBUG_MODE=false -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/third_party/s2/s2polygonbuilder.cc
ar rcsTD build/59f4f0dd/mongo/db/catalog/libcollection_query_info.a build/59f4f0dd/mongo/db/query/collection_query_info.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/catalog/libcollection_query_info.a
c++ -o build/59f4f0dd/third_party/s2/s2r2rect.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DDEBUG_MODE=false -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/third_party/s2/s2r2rect.cc
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/repl/libdata_replicator_external_state_initial_sync.a build/59f4f0dd/mongo/db/repl/data_replicator_external_state_initial_sync.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libdata_replicator_external_state_initial_sync.a
c++ -o build/59f4f0dd/third_party/s2/s2pointregion.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DDEBUG_MODE=false -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/third_party/s2/s2pointregion.cc
c++ -o build/59f4f0dd/third_party/s2/s2latlng.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DDEBUG_MODE=false -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/third_party/s2/s2latlng.cc
c++ -o build/59f4f0dd/third_party/s2/s1angle.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DDEBUG_MODE=false -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/third_party/s2/s1angle.cc
In file included from src/mongo/db/matcher/expression_parser.h:37,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/replica_set_node_process_interface.h:33,
                 from src/mongo/db/pipeline/process_interface/mongod_process_interface_factory.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/replica_set_node_process_interface.h:33,
                 from src/mongo/db/pipeline/process_interface/mongod_process_interface_factory.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/replica_set_node_process_interface.h:33,
                 from src/mongo/db/pipeline/process_interface/mongod_process_interface_factory.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
ar rcsTD build/59f4f0dd/mongo/db/stats/libserveronly_stats.a build/59f4f0dd/mongo/db/stats/latency_server_status_section.o build/59f4f0dd/mongo/db/stats/lock_server_status_section.o build/59f4f0dd/mongo/db/stats/storage_stats.o
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/expression_with_placeholder.h:37,
                 from src/mongo/db/matcher/expression_parser.h:40,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/replica_set_node_process_interface.h:33,
                 from src/mongo/db/pipeline/process_interface/mongod_process_interface_factory.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_list_sessions_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/pipeline/document_source_list_sessions_gen.cpp
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/stats/libserveronly_stats.a
c++ -o build/59f4f0dd/mongo/db/fts/unicode/codepoints_diacritic_map.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/fts/unicode/codepoints_diacritic_map.cpp
/usr/pkg/bin/python3.12 src/mongo/db/fts/unicode/gen_delimiter_list.py src/third_party/unicode-8.0.0/PropList.txt build/59f4f0dd/mongo/db/fts/unicode/codepoints_delimiter_list.cpp
c++ -o build/59f4f0dd/mongo/util/clock_source.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/clock_source.cpp
c++ -o build/59f4f0dd/mongo/db/fts/unicode/codepoints_delimiter_list.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/fts/unicode/codepoints_delimiter_list.cpp
ar rcsTD build/59f4f0dd/third_party/s2/libs2.a build/59f4f0dd/third_party/s2/s1angle.o build/59f4f0dd/third_party/s2/s2.o build/59f4f0dd/third_party/s2/s2cellid.o build/59f4f0dd/third_party/s2/s2latlng.o build/59f4f0dd/third_party/s2/s1interval.o build/59f4f0dd/third_party/s2/s2cap.o build/59f4f0dd/third_party/s2/s2cell.o build/59f4f0dd/third_party/s2/s2cellunion.o build/59f4f0dd/third_party/s2/s2edgeindex.o build/59f4f0dd/third_party/s2/s2edgeutil.o build/59f4f0dd/third_party/s2/s2latlngrect.o build/59f4f0dd/third_party/s2/s2loop.o build/59f4f0dd/third_party/s2/s2pointregion.o build/59f4f0dd/third_party/s2/s2polygon.o build/59f4f0dd/third_party/s2/s2polygonbuilder.o build/59f4f0dd/third_party/s2/s2polyline.o build/59f4f0dd/third_party/s2/s2r2rect.o build/59f4f0dd/third_party/s2/s2region.o build/59f4f0dd/third_party/s2/s2regioncoverer.o build/59f4f0dd/third_party/s2/s2regionintersection.o build/59f4f0dd/third_party/s2/s2regionunion.o
Skipping ranlib for thin archive build/59f4f0dd/third_party/s2/libs2.a
c++ -o build/59f4f0dd/mongo/util/signal_handlers.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/signal_handlers.cpp
c++ -o build/59f4f0dd/mongo/db/write_concern_options.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/write_concern_options.cpp
ar rcsTD build/59f4f0dd/mongo/db/fts/unicode/libunicode.a build/59f4f0dd/mongo/db/fts/unicode/codepoints_casefold.o build/59f4f0dd/mongo/db/fts/unicode/codepoints_delimiter_list.o build/59f4f0dd/mongo/db/fts/unicode/codepoints_diacritic_list.o build/59f4f0dd/mongo/db/fts/unicode/codepoints_diacritic_map.o build/59f4f0dd/mongo/db/fts/unicode/string.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/fts/unicode/libunicode.a
ar rcsTD build/59f4f0dd/mongo/db/repl/libsync_source_resolver.a build/59f4f0dd/mongo/db/repl/sync_source_resolver.o
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/59f4f0dd/mongo/db/repl/election_reason_counter_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libsync_source_resolver.a
c++ -o build/59f4f0dd/third_party/s2/base/stringprintf.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -Isrc/third_party/s2 -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/third_party/s2/base/stringprintf.cc
ar rcsTD build/59f4f0dd/mongo/db/libmirror_maestro.a build/59f4f0dd/mongo/db/mirror_maestro.o build/59f4f0dd/mongo/db/mirror_maestro_gen.o build/59f4f0dd/mongo/db/mirroring_sampler.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libmirror_maestro.a
c++ -o build/59f4f0dd/mongo/db/s/config/sharding_catalog_manager_zone_operations.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/config/sharding_catalog_manager_zone_operations.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/59f4f0dd/mongo/db/repl/election_reason_counter_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
ar rcsTD build/59f4f0dd/third_party/s2/base/libbase_s2.a build/59f4f0dd/third_party/s2/base/int128.o build/59f4f0dd/third_party/s2/base/logging.o build/59f4f0dd/third_party/s2/base/logging_mongo.o build/59f4f0dd/third_party/s2/base/stringprintf.o build/59f4f0dd/third_party/s2/base/strtoint.o
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/third_party/s2/base/libbase_s2.a
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/s/sharding_task_executor_pool_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/s/sharding_task_executor_pool_gen.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/repl/election_reason_counter_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/repl/election_reason_counter_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/util/libclock_sources.a build/59f4f0dd/mongo/util/background_thread_clock_source.o build/59f4f0dd/mongo/util/clock_source.o build/59f4f0dd/mongo/util/fast_clock_source_factory.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/libclock_sources.a
c++ -o build/59f4f0dd/mongo/executor/thread_pool_task_executor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/executor/thread_pool_task_executor.cpp
In file included from src/mongo/db/matcher/expression_parser.h:39,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/db/pipeline/process_interface/replica_set_node_process_interface.h:33,
                 from src/mongo/db/pipeline/process_interface/mongod_process_interface_factory.cpp:34:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/util/libsignal_handlers.a build/59f4f0dd/mongo/util/signal_handlers.o build/59f4f0dd/mongo/util/signal_win32.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/libsignal_handlers.a
ar rcsTD build/59f4f0dd/mongo/db/stats/libfill_locker_info.a build/59f4f0dd/mongo/db/stats/fill_locker_info.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/stats/libfill_locker_info.a
ar rcsTD build/59f4f0dd/mongo/db/libindex_build_entry_helpers.a build/59f4f0dd/mongo/db/index_build_entry_helpers.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libindex_build_entry_helpers.a
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/59f4f0dd/mongo/db/pipeline/document_source_list_sessions_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/scripting/engine.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/engine.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/s/sharding_task_executor_pool_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/db/pipeline/document_source_list_sessions_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/read_write_concern_defaults_cache_lookup_mongod.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/read_write_concern_defaults_cache_lookup_mongod.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/pipeline/document_source_list_sessions_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/storage/snapshot_helper.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/snapshot_helper.cpp
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/pipeline/document_source_list_sessions_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from build/59f4f0dd/mongo/s/sharding_task_executor_pool_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/s/sharding_task_executor_pool_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/s/sharding_task_executor_pool_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/repl/libelection_reason_counter.a build/59f4f0dd/mongo/db/repl/election_reason_counter.o build/59f4f0dd/mongo/db/repl/election_reason_counter_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libelection_reason_counter.a
c++ -o build/59f4f0dd/mongo/db/logical_session_cache_factory_mongod.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/logical_session_cache_factory_mongod.cpp
ar rcsTD build/59f4f0dd/third_party/abseil-cpp-master/libabsl_hash.a build/59f4f0dd/third_party/abseil-cpp-master/abseil-cpp/absl/hash/internal/city.o build/59f4f0dd/third_party/abseil-cpp-master/abseil-cpp/absl/hash/internal/hash.o
Skipping ranlib for thin archive build/59f4f0dd/third_party/abseil-cpp-master/libabsl_hash.a
ar rcsTD build/59f4f0dd/mongo/db/libperiodic_runner_job_abort_expired_transactions.a build/59f4f0dd/mongo/db/periodic_runner_job_abort_expired_transactions.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libperiodic_runner_job_abort_expired_transactions.a
c++ -o build/59f4f0dd/mongo/util/net/ssl_options_server.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/net/ssl_options_server.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/executor/libthread_pool_task_executor.a build/59f4f0dd/mongo/executor/thread_pool_task_executor.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/executor/libthread_pool_task_executor.a
c++ -o build/59f4f0dd/mongo/db/repl/abstract_async_component.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/abstract_async_component.cpp
ar rcsTD build/59f4f0dd/third_party/libshim_fmt.a build/59f4f0dd/third_party/shim_fmt.o
Skipping ranlib for thin archive build/59f4f0dd/third_party/libshim_fmt.a
ar rcsTD build/59f4f0dd/mongo/s/libsharding_initialization.a build/59f4f0dd/mongo/s/sharding_initialization.o build/59f4f0dd/mongo/s/sharding_task_executor_pool_controller.o build/59f4f0dd/mongo/s/sharding_task_executor_pool_gen.o build/59f4f0dd/mongo/s/client/sharding_connection_hook.o build/59f4f0dd/mongo/s/client/sharding_network_connection_hook.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/libsharding_initialization.a
c++ -o build/59f4f0dd/mongo/s/query/establish_cursors.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/query/establish_cursors.cpp
c++ -o build/59f4f0dd/mongo/db/repl/optime_base_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/repl/optime_base_gen.cpp
c++ -o build/59f4f0dd/mongo/db/pipeline/accumulator_add_to_set.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/pipeline/accumulator_add_to_set.cpp
ar rcsTD build/59f4f0dd/mongo/db/libshared_request_handling.a build/59f4f0dd/mongo/db/transaction_validation.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libshared_request_handling.a
c++ -o build/59f4f0dd/mongo/util/ntservice.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/ntservice.cpp
c++ -o build/59f4f0dd/mongo/db/query/cursor_request.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/cursor_request.cpp
ar rcsTD build/59f4f0dd/mongo/db/liblogical_session_cache.a build/59f4f0dd/mongo/db/logical_session_cache.o build/59f4f0dd/mongo/db/logical_session_cache_stats_gen.o build/59f4f0dd/mongo/db/logical_session_cache_gen.o
ar rcsTD build/59f4f0dd/mongo/util/libntservice.a build/59f4f0dd/mongo/util/ntservice.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/liblogical_session_cache.a
c++ -o build/59f4f0dd/mongo/scripting/deadline_monitor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/deadline_monitor.cpp
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/libntservice.a
ar rcsTD build/59f4f0dd/mongo/db/repl/libreplication_process.a build/59f4f0dd/mongo/db/repl/replication_consistency_markers.o build/59f4f0dd/mongo/db/repl/replication_process.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libreplication_process.a
ar rcsTD build/59f4f0dd/mongo/db/storage/librecovery_unit_base.a build/59f4f0dd/mongo/db/storage/recovery_unit.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/librecovery_unit_base.a
c++ -o build/59f4f0dd/mongo/db/catalog/health_log_interface.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/health_log_interface.cpp
ar rcsTD build/59f4f0dd/mongo/db/pipeline/libgranularity_rounder.a build/59f4f0dd/mongo/db/pipeline/granularity_rounder.o build/59f4f0dd/mongo/db/pipeline/granularity_rounder_powers_of_two.o build/59f4f0dd/mongo/db/pipeline/granularity_rounder_preferred_numbers.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/pipeline/libgranularity_rounder.a
ar rcsTD build/59f4f0dd/mongo/db/matcher/libpath.a build/59f4f0dd/mongo/db/matcher/path.o build/59f4f0dd/mongo/db/matcher/path_internal.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/matcher/libpath.a
c++ -o build/59f4f0dd/mongo/s/query/blocking_results_merger.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/query/blocking_results_merger.cpp
c++ -o build/59f4f0dd/mongo/db/s/config/sharding_catalog_manager_chunk_operations.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/config/sharding_catalog_manager_chunk_operations.cpp
c++ -o build/59f4f0dd/mongo/db/s/config/sharding_catalog_manager_database_operations.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/config/sharding_catalog_manager_database_operations.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/59f4f0dd/mongo/db/repl/optime_base_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/s/config/namespace_serializer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/s/config/namespace_serializer.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/59f4f0dd/mongo/db/repl/optime_base_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/repl/optime_base_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/repl/optime_base_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/pipeline/expression.h:47,
                 from src/mongo/db/pipeline/accumulator.h:43,
                 from src/mongo/db/pipeline/accumulator_add_to_set.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/catalog/libhealth_log_interface.a build/59f4f0dd/mongo/db/catalog/health_log_gen.o build/59f4f0dd/mongo/db/catalog/health_log_interface.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/catalog/libhealth_log_interface.a
ar rcsTD build/59f4f0dd/mongo/db/storage/wiredtiger/liboplog_stone_parameters.a build/59f4f0dd/mongo/db/storage/wiredtiger/oplog_stone_parameters_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/wiredtiger/liboplog_stone_parameters.a
c++ -o build/59f4f0dd/mongo/db/keypattern.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/keypattern.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/query/cursor_response.h:36,
                 from build/59f4f0dd/mongo/s/query/async_results_merger_params_gen.h:24,
                 from src/mongo/s/query/establish_cursors.h:42,
                 from src/mongo/s/query/establish_cursors.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/s/query/async_results_merger_params_gen.h:24,
                 from src/mongo/s/query/establish_cursors.h:42,
                 from src/mongo/s/query/establish_cursors.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/59f4f0dd/mongo/s/query/async_results_merger_params_gen.h:24,
                 from src/mongo/s/query/establish_cursors.h:42,
                 from src/mongo/s/query/establish_cursors.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/s/query/async_results_merger_params_gen.h:24,
                 from src/mongo/s/query/establish_cursors.h:42,
                 from src/mongo/s/query/establish_cursors.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/s/config/sharding_catalog_manager_chunk_operations.cpp:41:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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_raii.h:33,
                 from src/mongo/db/s/config/sharding_catalog_manager_chunk_operations.cpp:41:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/util/net/socket_utils.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/net/socket_utils.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_raii.h:33,
                 from src/mongo/db/s/config/sharding_catalog_manager_chunk_operations.cpp:41:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/s/config/sharding_catalog_manager_chunk_operations.cpp:41:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/commands/feature_compatibility_version.h:35,
                 from src/mongo/db/s/config/sharding_catalog_manager_database_operations.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/uncommitted_collections.h:37,
                 from src/mongo/db/transaction_participant.h:36,
                 from src/mongo/s/query/blocking_results_merger.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616: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/commands/feature_compatibility_version.h:35,
                 from src/mongo/db/s/config/sharding_catalog_manager_database_operations.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/uncommitted_collections.h:37,
                 from src/mongo/db/transaction_participant.h:36,
                 from src/mongo/s/query/blocking_results_merger.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/libserver_options_core.a build/59f4f0dd/mongo/db/server_options.o
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/commands/feature_compatibility_version.h:35,
                 from src/mongo/db/s/config/sharding_catalog_manager_database_operations.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libserver_options_core.a
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/repl/rollback_impl_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/repl/rollback_impl_gen.cpp
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/catalog/collection.h:48,
                 from src/mongo/db/catalog/uncommitted_collections.h:37,
                 from src/mongo/db/transaction_participant.h:36,
                 from src/mongo/s/query/blocking_results_merger.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/commands/feature_compatibility_version.h:35,
                 from src/mongo/db/s/config/sharding_catalog_manager_database_operations.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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/uncommitted_collections.h:37,
                 from src/mongo/db/transaction_participant.h:36,
                 from src/mongo/s/query/blocking_results_merger.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/repl/liboptime_base.a build/59f4f0dd/mongo/db/repl/optime_base_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/liboptime_base.a
c++ -o build/59f4f0dd/mongo/db/client_out_of_line_executor.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/client_out_of_line_executor.cpp
c++ -o build/59f4f0dd/mongo/db/query/killcursors_response.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/killcursors_response.cpp
c++ -o build/59f4f0dd/mongo/db/repl/oplog_entry_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/repl/oplog_entry_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/repl/rollback_impl_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 build/59f4f0dd/mongo/db/repl/rollback_impl_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from build/59f4f0dd/mongo/db/repl/rollback_impl_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/repl/rollback_impl_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/clientcursor.h:40,
                 from src/mongo/db/query/killcursors_response.h:36,
                 from src/mongo/db/query/killcursors_response.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/event.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/log/src/event.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/killcursors_response.h:36,
                 from src/mongo/db/query/killcursors_response.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/killcursors_response.h:36,
                 from src/mongo/db/query/killcursors_response.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/killcursors_response.h:36,
                 from src/mongo/db/query/killcursors_response.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/repl/oplog_entry_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/ttl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/ttl.cpp
c++ -o build/59f4f0dd/mongo/db/ftdc/ftdc_commands.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/ftdc/ftdc_commands.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/59f4f0dd/mongo/db/repl/oplog_entry_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/repl/librs_rollback.a build/59f4f0dd/mongo/db/repl/rs_rollback.o
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/librs_rollback.a
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/base/libsecure_allocator.a build/59f4f0dd/mongo/base/secure_allocator.o
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/base/libsecure_allocator.a
ar rcsTD build/59f4f0dd/mongo/db/repl/liboplog_buffer_collection.a build/59f4f0dd/mongo/db/repl/oplog_buffer_collection.o
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/liboplog_buffer_collection.a
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/59f4f0dd/mongo/db/repl/oplog_entry_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/repl/oplog_entry_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/threadsafe_queue.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/log/src/threadsafe_queue.cpp
ar rcsTD build/59f4f0dd/mongo/s/query/libasync_results_merger.a build/59f4f0dd/mongo/s/query/async_results_merger.o build/59f4f0dd/mongo/s/query/blocking_results_merger.o build/59f4f0dd/mongo/s/query/establish_cursors.o build/59f4f0dd/mongo/s/query/async_results_merger_params_gen.o
ar rcsTD build/59f4f0dd/mongo/db/s/libsharding_catalog_manager.a build/59f4f0dd/mongo/db/s/add_shard_util.o build/59f4f0dd/mongo/db/s/config/initial_split_policy.o build/59f4f0dd/mongo/db/s/config/namespace_serializer.o build/59f4f0dd/mongo/db/s/config/sharding_catalog_manager_chunk_operations.o build/59f4f0dd/mongo/db/s/config/sharding_catalog_manager_collection_operations.o build/59f4f0dd/mongo/db/s/config/sharding_catalog_manager_database_operations.o build/59f4f0dd/mongo/db/s/config/sharding_catalog_manager_shard_operations.o build/59f4f0dd/mongo/db/s/config/sharding_catalog_manager_zone_operations.o build/59f4f0dd/mongo/db/s/config/sharding_catalog_manager.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/query/libasync_results_merger.a
ar rcsTD build/59f4f0dd/mongo/db/liblasterror.a build/59f4f0dd/mongo/db/lasterror.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/s/libsharding_catalog_manager.a
ar rcsTD build/59f4f0dd/mongo/db/auth/libuser_document_parser.a build/59f4f0dd/mongo/db/auth/user_document_parser.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/liblasterror.a
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/auth/libuser_document_parser.a
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/text_file_backend.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/log/src/text_file_backend.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
ar rcsTD build/59f4f0dd/mongo/db/commands/libwrite_commands_common.a build/59f4f0dd/mongo/db/commands/write_commands/write_commands_common.o
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/commands/libwrite_commands_common.a
c++ -o build/59f4f0dd/mongo/db/geo/geoparser.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/geo/geoparser.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/auth/address_restriction.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/address_restriction.cpp
ar rcsTD build/59f4f0dd/mongo/db/repl/librollback_impl.a build/59f4f0dd/mongo/db/repl/rollback_impl.o build/59f4f0dd/mongo/db/repl/rollback_impl_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/librollback_impl.a
c++ -o build/59f4f0dd/mongo/db/ops/write_ops_parsers.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/ops/write_ops_parsers.cpp
Generating build/59f4f0dd/mongo/util/net/http_client_options_gen.cpp
c++ -o build/59f4f0dd/mongo/util/net/http_client_options_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/util/net/http_client_options_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/ttl.cpp:39:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/ttl.cpp:39:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/ftdc/ftdc_commands.cpp:36:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
In file included from src/mongo/db/ops/write_ops_parsers.cpp:36:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/util/net/http_client_curl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/net/http_client_curl.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/ttl.cpp:39:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/ttl.cpp:39:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from src/mongo/db/ftdc/ftdc_commands.cpp:36:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/ftdc/ftdc_commands.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/libtime_proof_service.a build/59f4f0dd/mongo/db/time_proof_service.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libtime_proof_service.a
c++ -o build/59f4f0dd/third_party/shim_mozjs.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/shim_mozjs.cpp
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/ftdc/ftdc_commands.cpp:36:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/third_party/libshim_mozjs.a build/59f4f0dd/third_party/shim_mozjs.o
Skipping ranlib for thin archive build/59f4f0dd/third_party/libshim_mozjs.a
c++ -o build/59f4f0dd/mongo/db/update_index_data.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/update_index_data.cpp
ar rcsTD build/59f4f0dd/mongo/db/ops/libwrite_ops_parsers.a build/59f4f0dd/mongo/db/ops/write_ops_parsers.o build/59f4f0dd/mongo/db/ops/write_ops_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/ops/libwrite_ops_parsers.a
Generating build/59f4f0dd/mongo/db/server_options_helpers_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 build/59f4f0dd/mongo/util/net/http_client_options_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/server_options_helpers_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/server_options_helpers_gen.cpp
ar rcsTD build/59f4f0dd/mongo/s/client/libsharding_client.a build/59f4f0dd/mongo/s/client/shard_remote.o build/59f4f0dd/mongo/s/client/num_hosts_targeted_metrics.o build/59f4f0dd/mongo/s/client/shard_remote_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/client/libsharding_client.a
ar rcsTD build/59f4f0dd/mongo/db/libdbdirectclient.a build/59f4f0dd/mongo/db/dbdirectclient.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libdbdirectclient.a
ar rcsTD build/59f4f0dd/mongo/db/liblogical_session_cache_impl.a build/59f4f0dd/mongo/db/initialize_operation_session_info.o build/59f4f0dd/mongo/db/logical_session_cache_impl.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/liblogical_session_cache_impl.a
gcc -o build/59f4f0dd/third_party/libstemmer_c/src_c/stem_UTF_8_italian.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -fno-strict-overflow -DNDEBUG -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/libstemmer_c/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/libstemmer_c/src_c/stem_UTF_8_italian.c
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/59f4f0dd/mongo/util/net/http_client_options_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/util/net/http_client_options_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/util/net/http_client_options_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/libupdate_index_data.a build/59f4f0dd/mongo/db/update_index_data.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libupdate_index_data.a
c++ -o build/59f4f0dd/mongo/db/kill_sessions_common.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/kill_sessions_common.cpp
ar rcsTD build/59f4f0dd/mongo/db/auth/libsecurity_key.a build/59f4f0dd/mongo/db/auth/security_key.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/auth/libsecurity_key.a
c++ -o build/59f4f0dd/mongo/s/query/cluster_client_cursor_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/query/cluster_client_cursor_impl.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/util/net/http_client_curl.cpp:49:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/util/net/http_client_curl.cpp:49:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/util/net/http_client_curl.cpp:49:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/server_status.h:32,
                 from src/mongo/util/net/http_client_curl.cpp:49:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/concurrency/deferred_writer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/concurrency/deferred_writer.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/59f4f0dd/mongo/db/server_options_helpers_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/ftdc/libftdc_mongod.a build/59f4f0dd/mongo/db/ftdc/ftdc_commands.o build/59f4f0dd/mongo/db/ftdc/ftdc_mongod.o
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/59f4f0dd/mongo/db/server_options_helpers_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/ftdc/libftdc_mongod.a
ar rcsTD build/59f4f0dd/mongo/db/stats/libtransaction_stats.a build/59f4f0dd/mongo/db/stats/single_transaction_stats.o
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/stats/libtransaction_stats.a
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/crypto/sha_block_openssl.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/crypto/sha_block_openssl.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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from build/59f4f0dd/mongo/db/server_options_helpers_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/server_options_helpers_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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:37,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/s/query/cluster_client_cursor_params.h:43,
                 from src/mongo/s/query/cluster_client_cursor.h:38,
                 from src/mongo/s/query/cluster_client_cursor_impl.h:36,
                 from src/mongo/s/query/cluster_client_cursor_impl.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/s/query/cluster_client_cursor_params.h:43,
                 from src/mongo/s/query/cluster_client_cursor.h:38,
                 from src/mongo/s/query/cluster_client_cursor_impl.h:36,
                 from src/mongo/s/query/cluster_client_cursor_impl.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/pipeline/pipeline.h:40,
                 from src/mongo/s/query/cluster_client_cursor_params.h:43,
                 from src/mongo/s/query/cluster_client_cursor.h:38,
                 from src/mongo/s/query/cluster_client_cursor_impl.h:36,
                 from src/mongo/s/query/cluster_client_cursor_impl.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/auth/libaddress_restriction.a build/59f4f0dd/mongo/db/auth/address_restriction.o build/59f4f0dd/mongo/db/auth/address_restriction_gen.o
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/pipeline/pipeline.h:40,
                 from src/mongo/s/query/cluster_client_cursor_params.h:43,
                 from src/mongo/s/query/cluster_client_cursor.h:38,
                 from src/mongo/s/query/cluster_client_cursor_impl.h:36,
                 from src/mongo/s/query/cluster_client_cursor_impl.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/auth/libaddress_restriction.a
ar rcsTD build/59f4f0dd/mongo/db/libop_observer_impl.a build/59f4f0dd/mongo/db/op_observer_impl.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libop_observer_impl.a
c++ -o build/59f4f0dd/mongo/util/net/hostandport.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/net/hostandport.cpp
c++ -o build/59f4f0dd/mongo/db/server_options_helpers.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/server_options_helpers.cpp
ar rcsTD build/59f4f0dd/mongo/db/libread_write_concern_provenance.a build/59f4f0dd/mongo/db/read_write_concern_provenance.o build/59f4f0dd/mongo/db/read_write_concern_provenance_base_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libread_write_concern_provenance.a
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/catalog/commit_quorum_options.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/commit_quorum_options.cpp
ar rcsTD build/59f4f0dd/mongo/db/libkill_sessions.a build/59f4f0dd/mongo/db/kill_sessions.o build/59f4f0dd/mongo/db/kill_sessions_common.o build/59f4f0dd/mongo/db/session_killer.o build/59f4f0dd/mongo/db/kill_sessions_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libkill_sessions.a
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/attribute_value_set.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/log/src/attribute_value_set.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/thread_id.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/log/src/thread_id.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/concurrency/deferred_writer.h:32,
                 from src/mongo/db/concurrency/deferred_writer.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/concurrency/deferred_writer.h:32,
                 from src/mongo/db/concurrency/deferred_writer.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/storage/two_phase_index_build_knobs_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/storage/two_phase_index_build_knobs_gen.cpp
ar rcsTD build/59f4f0dd/mongo/db/libsessions_collection_standalone.a build/59f4f0dd/mongo/db/sessions_collection_standalone.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libsessions_collection_standalone.a
ar rcsTD build/59f4f0dd/third_party/boost-1.70.0/libboost_log.a build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/attribute_name.o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/attribute_set.o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/attribute_value_set.o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/code_conversion.o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/core.o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/date_time_format_parser.o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/default_attribute_names.o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/default_sink.o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/dump.o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/event.o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/exceptions.o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/format_parser.o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/global_logger_storage.o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/named_scope.o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/named_scope_format_parser.o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/once_block.o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/permissions.o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/process_id.o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/process_name.o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/record_ostream.o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/severity_level.o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/spirit_encoding.o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/syslog_backend.o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/text_file_backend.o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/text_multifile_backend.o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/text_ostream_backend.o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/thread_id.o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/thread_specific.o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/threadsafe_queue.o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/timer.o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/timestamp.o build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/trivial.o
ar rcsTD build/59f4f0dd/third_party/libshim_stemmer.a build/59f4f0dd/third_party/shim_stemmer.o
Skipping ranlib for thin archive build/59f4f0dd/third_party/libshim_stemmer.a
ar rcsTD build/59f4f0dd/third_party/libshim_zlib.a build/59f4f0dd/third_party/shim_zlib.o
Skipping ranlib for thin archive build/59f4f0dd/third_party/boost-1.70.0/libboost_log.a
Skipping ranlib for thin archive build/59f4f0dd/third_party/libshim_zlib.a
c++ -o build/59f4f0dd/mongo/db/storage/storage_repair_observer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/storage_repair_observer.cpp
ar rcsTD build/59f4f0dd/mongo/db/libsessions_collection.a build/59f4f0dd/mongo/db/sessions_collection.o build/59f4f0dd/mongo/db/create_indexes_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libsessions_collection.a
ar rcsTD build/59f4f0dd/mongo/db/query/libprojection_ast.a build/59f4f0dd/mongo/db/query/projection.o build/59f4f0dd/mongo/db/query/projection_ast_util.o build/59f4f0dd/mongo/db/query/projection_parser.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/query/libprojection_ast.a
c++ -o build/59f4f0dd/mongo/db/storage/storage_debug_util.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/storage_debug_util.cpp
In file included from src/mongo/db/matcher/expression_parser.h:39,
                 from src/mongo/db/pipeline/pipeline.h:40,
                 from src/mongo/s/query/cluster_client_cursor_params.h:43,
                 from src/mongo/s/query/cluster_client_cursor.h:38,
                 from src/mongo/s/query/cluster_client_cursor_impl.h:36,
                 from src/mongo/s/query/cluster_client_cursor_impl.cpp:32:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/concurrency/deferred_writer.h:32,
                 from src/mongo/db/concurrency/deferred_writer.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/concurrency/deferred_writer.h:32,
                 from src/mongo/db/concurrency/deferred_writer.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/util/net/libhttp_client_impl.a build/59f4f0dd/mongo/util/net/http_client_options_gen.o build/59f4f0dd/mongo/util/net/http_client_options.o build/59f4f0dd/mongo/util/net/http_client_curl.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/net/libhttp_client_impl.a
c++ -o build/59f4f0dd/mongo/idl/idl_parser.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/idl/idl_parser.cpp
c++ -o build/59f4f0dd/mongo/transport/transport_options_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/transport/transport_options_gen.cpp
src/mongo/db/concurrency/deferred_writer.cpp: In member function 'mongo::StatusWith<std::unique_ptr<mongo::AutoGetCollection> > mongo::DeferredWriter::_getCollection(mongo::OperationContext*)':
src/mongo/db/concurrency/deferred_writer.cpp:99:21: warning: redundant move in return statement [-Wredundant-move]
   99 |     return std::move(agc);
      |            ~~~~~~~~~^~~~~
src/mongo/db/concurrency/deferred_writer.cpp:99:21: 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/59f4f0dd/mongo/db/storage/two_phase_index_build_knobs_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/catalog/libcommit_quorum_options.a build/59f4f0dd/mongo/db/catalog/commit_quorum_options.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/catalog/libcommit_quorum_options.a
ar rcsTD build/59f4f0dd/mongo/db/libaudit.a build/59f4f0dd/mongo/db/audit.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libaudit.a
ar rcsTD build/59f4f0dd/mongo/db/repl/libinitial_syncer.a build/59f4f0dd/mongo/db/repl/initial_syncer.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libinitial_syncer.a
ar rcsTD build/59f4f0dd/mongo/db/libdb_raii.a build/59f4f0dd/mongo/db/db_raii.o build/59f4f0dd/mongo/db/db_raii_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libdb_raii.a
c++ -o build/59f4f0dd/third_party/boost-1.70.0/libs/iostreams/src/mapped_file.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -Wno-overloaded-virtual -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DNDEBUG -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/boost-1.70.0 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/boost-1.70.0/libs/iostreams/src/mapped_file.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/59f4f0dd/mongo/db/storage/two_phase_index_build_knobs_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/storage/two_phase_index_build_knobs_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/storage/two_phase_index_build_knobs_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/libserver_options.a build/59f4f0dd/mongo/db/server_options_helpers.o build/59f4f0dd/mongo/db/server_options_helpers_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libserver_options.a
c++ -o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_customization_hooks.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_customization_hooks.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_raii.h:33,
                 from src/mongo/db/db_raii.h:34,
                 from src/mongo/db/storage/storage_debug_util.cpp:36:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/59f4f0dd/mongo/transport/transport_options_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/third_party/boost-1.70.0/libboost_iostreams.a build/59f4f0dd/third_party/boost-1.70.0/libs/iostreams/src/file_descriptor.o build/59f4f0dd/third_party/boost-1.70.0/libs/iostreams/src/mapped_file.o
Skipping ranlib for thin archive build/59f4f0dd/third_party/boost-1.70.0/libboost_iostreams.a
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/storage/storage_debug_util.cpp:36:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/libclient_out_of_line_executor.a build/59f4f0dd/mongo/db/client_out_of_line_executor.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libclient_out_of_line_executor.a
ar rcsTD build/59f4f0dd/mongo/db/storage/libstorage_control.a build/59f4f0dd/mongo/db/storage/control/storage_control.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/libstorage_control.a
ar rcsTD build/59f4f0dd/mongo/util/libregex_util.a build/59f4f0dd/mongo/util/regex_util.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/libregex_util.a
ar rcsTD build/59f4f0dd/mongo/db/catalog/libvalidate_idl.a build/59f4f0dd/mongo/db/catalog/validate_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/catalog/libvalidate_idl.a
ar rcsTD build/59f4f0dd/mongo/rpc/libcommand_status.a build/59f4f0dd/mongo/rpc/get_status_from_command_result.o build/59f4f0dd/mongo/rpc/write_concern_error_detail.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/rpc/libcommand_status.a
c++ -o build/59f4f0dd/mongo/db/query/getmore_request.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/getmore_request.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/59f4f0dd/mongo/transport/transport_options_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/signed_logical_time.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/signed_logical_time.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/transport/transport_options_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/transport/transport_options_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_raii.h:33,
                 from src/mongo/db/db_raii.h:34,
                 from src/mongo/db/storage/storage_debug_util.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/storage/storage_debug_util.cpp:36:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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: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/concurrency/deferred_writer.h:32,
                 from src/mongo/db/concurrency/deferred_writer.cpp:32:
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/storage/libstorage_repair_observer.a build/59f4f0dd/mongo/db/storage/storage_repair_observer.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/libstorage_repair_observer.a
ar rcsTD build/59f4f0dd/mongo/db/auth/librole_graph_update.a build/59f4f0dd/mongo/db/auth/role_graph_update.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/auth/librole_graph_update.a
ar rcsTD build/59f4f0dd/mongo/db/libwrite_concern_options.a build/59f4f0dd/mongo/db/write_concern_options.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libwrite_concern_options.a
c++ -o build/59f4f0dd/mongo/db/field_parser.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/field_parser.cpp
ar rcsTD build/59f4f0dd/mongo/db/concurrency/libdeferred_writer.a build/59f4f0dd/mongo/db/concurrency/deferred_writer.o
ar rcsTD build/59f4f0dd/mongo/db/libcommand_generic_argument.a build/59f4f0dd/mongo/db/command_generic_argument.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/concurrency/libdeferred_writer.a
ar rcsTD build/59f4f0dd/mongo/db/storage/libtwo_phase_index_build_knobs_idl.a build/59f4f0dd/mongo/db/storage/two_phase_index_build_knobs_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libcommand_generic_argument.a
ar rcsTD build/59f4f0dd/mongo/db/commands/libauthentication_commands.a build/59f4f0dd/mongo/db/commands/authentication_commands.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/libtwo_phase_index_build_knobs_idl.a
ar rcsTD build/59f4f0dd/mongo/watchdog/libwatchdog.a build/59f4f0dd/mongo/watchdog/watchdog.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/commands/libauthentication_commands.a
c++ -o build/59f4f0dd/mongo/scripting/jsexception.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/scripting/jsexception.cpp
Skipping ranlib for thin archive build/59f4f0dd/mongo/watchdog/libwatchdog.a
c++ -o build/59f4f0dd/mongo/s/query/router_stage_pipeline.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/query/router_stage_pipeline.cpp
c++ -o build/59f4f0dd/mongo/db/profile_filter.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/profile_filter.cpp
ar rcsTD build/59f4f0dd/mongo/db/libsigned_logical_time.a build/59f4f0dd/mongo/db/signed_logical_time.o
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/getmore_request.h:37,
                 from src/mongo/db/query/getmore_request.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libsigned_logical_time.a
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/third_party/libshim_zstd.a build/59f4f0dd/third_party/shim_zstd.o
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
Skipping ranlib for thin archive build/59f4f0dd/third_party/libshim_zstd.a
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/background.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/background.cpp
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/getmore_request.h:37,
                 from src/mongo/db/query/getmore_request.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/getmore_request.h:37,
                 from src/mongo/db/query/getmore_request.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/getmore_request.h:37,
                 from src/mongo/db/query/getmore_request.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/transport/libtransport_layer.a build/59f4f0dd/mongo/transport/transport_layer_asio.o build/59f4f0dd/mongo/transport/transport_options_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/transport/libtransport_layer.a
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
ar rcsTD build/59f4f0dd/mongo/db/views/libviews_mongod.a build/59f4f0dd/mongo/db/views/durable_view_catalog.o
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/views/libviews_mongod.a
ar rcsTD build/59f4f0dd/mongo/db/geo/libgeometry.a build/59f4f0dd/mongo/db/geo/hash.o build/59f4f0dd/mongo/db/geo/shapes.o build/59f4f0dd/mongo/db/geo/big_polygon.o build/59f4f0dd/mongo/db/geo/r2_region_coverer.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/geo/libgeometry.a
ar rcsTD build/59f4f0dd/mongo/db/catalog/libindex_build_oplog_entry.a build/59f4f0dd/mongo/db/catalog/index_build_oplog_entry.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/catalog/libindex_build_oplog_entry.a
ar rcsTD build/59f4f0dd/mongo/db/libttl_d.a build/59f4f0dd/mongo/db/ttl.o build/59f4f0dd/mongo/db/ttl_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libttl_d.a
ar rcsTD build/59f4f0dd/mongo/db/pipeline/libaccumulator.a build/59f4f0dd/mongo/db/pipeline/accumulation_statement.o build/59f4f0dd/mongo/db/pipeline/accumulator_add_to_set.o build/59f4f0dd/mongo/db/pipeline/accumulator_avg.o build/59f4f0dd/mongo/db/pipeline/accumulator_first.o build/59f4f0dd/mongo/db/pipeline/accumulator_js_reduce.o build/59f4f0dd/mongo/db/pipeline/accumulator_last.o build/59f4f0dd/mongo/db/pipeline/accumulator_merge_objects.o build/59f4f0dd/mongo/db/pipeline/accumulator_min_max.o build/59f4f0dd/mongo/db/pipeline/accumulator_push.o build/59f4f0dd/mongo/db/pipeline/accumulator_std_dev.o build/59f4f0dd/mongo/db/pipeline/accumulator_sum.o build/59f4f0dd/mongo/db/pipeline/map_reduce_options_gen.o
ar rcsTD build/59f4f0dd/mongo/db/libprofile_filter.a build/59f4f0dd/mongo/db/profile_filter.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/pipeline/libaccumulator.a
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libprofile_filter.a
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_internal_apply_oplog_update_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/pipeline/document_source_internal_apply_oplog_update_gen.cpp
c++ -o build/59f4f0dd/mongo/util/concurrency/thread_pool.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/concurrency/thread_pool.cpp
c++ -o build/59f4f0dd/mongo/s/write_ops/batched_upsert_detail.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/write_ops/batched_upsert_detail.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/pipeline/document_source.h:45,
                 from src/mongo/s/query/router_stage_pipeline.h:34,
                 from src/mongo/s/query/router_stage_pipeline.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/libcommon.a build/59f4f0dd/mongo/db/field_ref.o build/59f4f0dd/mongo/db/field_ref_set.o build/59f4f0dd/mongo/db/field_parser.o build/59f4f0dd/mongo/db/keypattern.o
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/s/query/router_stage_pipeline.h:34,
                 from src/mongo/s/query/router_stage_pipeline.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libcommon.a
c++ -o build/59f4f0dd/mongo/s/write_ops/batched_command_request.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/write_ops/batched_command_request.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/query/router_stage_pipeline.h:34,
                 from src/mongo/s/query/router_stage_pipeline.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/s/query/router_stage_pipeline.h:34,
                 from src/mongo/s/query/router_stage_pipeline.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/repl/libread_concern_args.a build/59f4f0dd/mongo/db/repl/read_concern_args.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libread_concern_args.a
ar rcsTD build/59f4f0dd/mongo/db/commands/libcurrent_op_common.a build/59f4f0dd/mongo/db/commands/current_op_common.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/commands/libcurrent_op_common.a
ar rcsTD build/59f4f0dd/mongo/db/repl/libtopology_version_observer.a build/59f4f0dd/mongo/db/repl/topology_version_observer.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libtopology_version_observer.a
ar rcsTD build/59f4f0dd/mongo/util/net/libhttp_client.a build/59f4f0dd/mongo/util/net/http_client.o
ar rcsTD build/59f4f0dd/third_party/libshim_snappy.a build/59f4f0dd/third_party/shim_snappy.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/net/libhttp_client.a
ar rcsTD build/59f4f0dd/mongo/db/storage/liboplog_cap_maintainer_thread.a build/59f4f0dd/mongo/db/storage/oplog_cap_maintainer_thread.o
Skipping ranlib for thin archive build/59f4f0dd/third_party/libshim_snappy.a
ar rcsTD build/59f4f0dd/mongo/db/query/libexplain_options.a build/59f4f0dd/mongo/db/query/explain_options.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/liboplog_cap_maintainer_thread.a
ar rcsTD build/59f4f0dd/mongo/db/exec/libworking_set.a build/59f4f0dd/mongo/db/exec/working_set.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/query/libexplain_options.a
ar rcsTD build/59f4f0dd/mongo/db/libmongod_options.a build/59f4f0dd/mongo/db/mongod_options.o build/59f4f0dd/mongo/db/mongod_options_general_gen.o build/59f4f0dd/mongo/db/mongod_options_legacy_gen.o build/59f4f0dd/mongo/db/mongod_options_replication_gen.o build/59f4f0dd/mongo/db/mongod_options_sharding_gen.o build/59f4f0dd/mongo/db/mongod_options_storage_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/exec/libworking_set.a
ar rcsTD build/59f4f0dd/mongo/db/libwire_version.a build/59f4f0dd/mongo/db/wire_version.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libwire_version.a
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libmongod_options.a
c++ -o build/59f4f0dd/mongo/db/query/find_and_modify_request.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/find_and_modify_request.cpp
ar rcsTD build/59f4f0dd/mongo/db/pipeline/process_interface/libmongod_process_interface_factory.a build/59f4f0dd/mongo/db/pipeline/process_interface/mongod_process_interface_factory.o
ar rcsTD build/59f4f0dd/mongo/db/storage/libstorage_debug_util.a build/59f4f0dd/mongo/db/storage/storage_debug_util.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/pipeline/process_interface/libmongod_process_interface_factory.a
ar rcsTD build/59f4f0dd/mongo/db/libsystem_index.a build/59f4f0dd/mongo/db/system_index.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/libstorage_debug_util.a
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libsystem_index.a
c++ -o build/59f4f0dd/mongo/db/repl/apply_ops.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/apply_ops.cpp
ar rcsTD build/59f4f0dd/mongo/db/stats/libcounters.a build/59f4f0dd/mongo/db/stats/counters.o
ar rcsTD build/59f4f0dd/mongo/db/auth/libsecurity_file.a build/59f4f0dd/mongo/db/auth/security_file.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/stats/libcounters.a
ar rcsTD build/59f4f0dd/mongo/db/geo/libgeoparser.a build/59f4f0dd/mongo/db/geo/geoparser.o build/59f4f0dd/mongo/db/geo/geometry_container.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/auth/libsecurity_file.a
ar rcsTD build/59f4f0dd/mongo/crypto/libsha_block_openssl.a build/59f4f0dd/mongo/crypto/sha_block_openssl.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/geo/libgeoparser.a
ar rcsTD build/59f4f0dd/mongo/db/repl/libreplication_recovery.a build/59f4f0dd/mongo/db/repl/replication_recovery.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/crypto/libsha_block_openssl.a
ar rcsTD build/59f4f0dd/third_party/fmt/libfmt.a build/59f4f0dd/third_party/fmt/dist/src/format.o build/59f4f0dd/third_party/fmt/dist/src/posix.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libreplication_recovery.a
Skipping ranlib for thin archive build/59f4f0dd/third_party/fmt/libfmt.a
c++ -o build/59f4f0dd/mongo/db/pipeline/document_source_replace_root_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/pipeline/document_source_replace_root_gen.cpp
gcc -o build/59f4f0dd/third_party/libstemmer_c/src_c/stem_UTF_8_swedish.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -fno-strict-overflow -DNDEBUG -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/libstemmer_c/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/libstemmer_c/src_c/stem_UTF_8_swedish.c
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/59f4f0dd/mongo/db/pipeline/document_source_internal_apply_oplog_update_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/s/query/libstore_possible_cursor.a build/59f4f0dd/mongo/s/query/store_possible_cursor.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/query/libstore_possible_cursor.a
c++ -o build/59f4f0dd/mongo/db/auth/auth_op_observer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/auth_op_observer.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/59f4f0dd/mongo/db/pipeline/document_source_internal_apply_oplog_update_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/pipeline/document_source_internal_apply_oplog_update_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/pipeline/document_source_internal_apply_oplog_update_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/util/concurrency/libthread_pool.a build/59f4f0dd/mongo/util/concurrency/thread_pool.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/concurrency/libthread_pool.a
c++ -o build/59f4f0dd/mongo/db/query/killcursors_request.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/killcursors_request.cpp
ar rcsTD build/59f4f0dd/mongo/s/write_ops/libbatch_write_types.a build/59f4f0dd/mongo/s/write_ops/batched_command_request.o build/59f4f0dd/mongo/s/write_ops/batched_command_response.o build/59f4f0dd/mongo/s/write_ops/batched_upsert_detail.o build/59f4f0dd/mongo/s/write_ops/write_error_detail.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/write_ops/libbatch_write_types.a
ar rcsTD build/59f4f0dd/mongo/db/commands/libserver_status_servers.a build/59f4f0dd/mongo/db/commands/server_status_servers.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/commands/libserver_status_servers.a
ar rcsTD build/59f4f0dd/mongo/db/libsession_catalog.a build/59f4f0dd/mongo/db/session_catalog.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libsession_catalog.a
c++ -o build/59f4f0dd/mongo/s/query/document_source_update_on_add_shard.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/query/document_source_update_on_add_shard.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/libkill_sessions_local.a build/59f4f0dd/mongo/db/kill_sessions_local.o
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/59f4f0dd/mongo/db/pipeline/document_source_replace_root_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libkill_sessions_local.a
c++ -o build/59f4f0dd/mongo/db/catalog/index_catalog.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/catalog/index_catalog.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/59f4f0dd/mongo/db/pipeline/document_source_replace_root_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/pipeline/document_source_replace_root_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/pipeline/document_source_replace_root_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/op_observer.h:35,
                 from src/mongo/db/auth/auth_op_observer.h:32,
                 from src/mongo/db/auth/auth_op_observer.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/op_observer.h:35,
                 from src/mongo/db/auth/auth_op_observer.h:32,
                 from src/mongo/db/auth/auth_op_observer.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/repl/member_data.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/member_data.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/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/apply_ops.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/apply_ops.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/op_observer.h:35,
                 from src/mongo/db/auth/auth_op_observer.h:32,
                 from src/mongo/db/auth/auth_op_observer.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/op_observer.h:35,
                 from src/mongo/db/auth/auth_op_observer.h:32,
                 from src/mongo/db/auth/auth_op_observer.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/db/pipeline/document_source.h:45,
                 from src/mongo/s/query/document_source_update_on_add_shard.h:34,
                 from src/mongo/s/query/document_source_update_on_add_shard.cpp:30:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/apply_ops.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/killcursors_request.h:36,
                 from src/mongo/db/query/killcursors_request.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/apply_ops.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/killcursors_request.h:36,
                 from src/mongo/db/query/killcursors_request.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/s/query/document_source_update_on_add_shard.h:34,
                 from src/mongo/s/query/document_source_update_on_add_shard.cpp:30:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
Generating build/59f4f0dd/mongo/util/net/ssl_options_server_gen.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/query/document_source_update_on_add_shard.h:34,
                 from src/mongo/s/query/document_source_update_on_add_shard.cpp:30:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_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/killcursors_request.h:36,
                 from src/mongo/db/query/killcursors_request.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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/s/query/document_source_update_on_add_shard.h:34,
                 from src/mongo/s/query/document_source_update_on_add_shard.cpp:30:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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: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/killcursors_request.h:36,
                 from src/mongo/db/query/killcursors_request.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/util/net/ssl_options_server_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/util/net/ssl_options_server_gen.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/s/client/librs_local_client.a build/59f4f0dd/mongo/s/client/rs_local_client.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/client/librs_local_client.a
ar rcsTD build/59f4f0dd/mongo/db/pipeline/libsharded_agg_helpers.a build/59f4f0dd/mongo/db/pipeline/sharded_agg_helpers.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/pipeline/libsharded_agg_helpers.a
ar rcsTD build/59f4f0dd/mongo/db/repl/librepl_set_status_commands.a build/59f4f0dd/mongo/db/repl/repl_set_command.o build/59f4f0dd/mongo/db/repl/repl_set_get_status_cmd.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/librepl_set_status_commands.a
ar rcsTD build/59f4f0dd/mongo/idl/libidl_parser.a build/59f4f0dd/mongo/idl/idl_parser.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/idl/libidl_parser.a
c++ -o build/59f4f0dd/mongo/db/query/map_reduce_output_format.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/map_reduce_output_format.cpp
c++ -o build/59f4f0dd/mongo/db/query/count_command_gen.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/query/count_command_gen.cpp
ar rcsTD build/59f4f0dd/mongo/db/repl/libmember_data.a build/59f4f0dd/mongo/db/repl/member_data.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libmember_data.a
ar rcsTD build/59f4f0dd/mongo/scripting/libscripting_common.a build/59f4f0dd/mongo/scripting/deadline_monitor.o build/59f4f0dd/mongo/scripting/deadline_monitor_gen.o build/59f4f0dd/mongo/scripting/dbdirectclient_factory.o build/59f4f0dd/mongo/scripting/engine.o build/59f4f0dd/mongo/scripting/jsexception.o build/59f4f0dd/mongo/scripting/utils.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/scripting/libscripting_common.a
ar rcsTD build/59f4f0dd/mongo/s/client/libshard_interface.a build/59f4f0dd/mongo/s/client/shard.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/client/libshard_interface.a
ar rcsTD build/59f4f0dd/mongo/db/catalog/libdatabase_holder.a build/59f4f0dd/mongo/db/catalog/database_holder.o
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/catalog/libdatabase_holder.a
gcc -o build/59f4f0dd/third_party/libstemmer_c/src_c/stem_UTF_8_dutch.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -std=c11 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -fno-strict-overflow -DNDEBUG -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/libstemmer_c/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/libstemmer_c/src_c/stem_UTF_8_dutch.c
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/repl/liboplog_entry.a build/59f4f0dd/mongo/db/repl/oplog_entry.o build/59f4f0dd/mongo/db/repl/oplog_entry_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/liboplog_entry.a
ar rcsTD build/59f4f0dd/mongo/db/pipeline/libdocument_sources_idl.a build/59f4f0dd/mongo/db/pipeline/document_source_change_stream_gen.o build/59f4f0dd/mongo/db/pipeline/document_source_internal_apply_oplog_update_gen.o build/59f4f0dd/mongo/db/pipeline/document_source_list_sessions_gen.o build/59f4f0dd/mongo/db/pipeline/document_source_merge_gen.o build/59f4f0dd/mongo/db/pipeline/document_source_merge_modes_gen.o build/59f4f0dd/mongo/db/pipeline/document_source_replace_root_gen.o build/59f4f0dd/mongo/db/pipeline/document_source_union_with_gen.o build/59f4f0dd/mongo/db/pipeline/exchange_spec_gen.o build/59f4f0dd/mongo/db/pipeline/value_gen.o build/59f4f0dd/mongo/db/pipeline/document_source_merge_spec.o build/59f4f0dd/mongo/db/pipeline/resume_token.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/pipeline/libdocument_sources_idl.a
ar rcsTD build/59f4f0dd/mongo/db/storage/libstorage_engine_metadata.a build/59f4f0dd/mongo/db/storage/storage_engine_metadata.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/libstorage_engine_metadata.a
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/59f4f0dd/mongo/util/net/ssl_options_server_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/repl/liboplog_buffer_blocking_queue.a build/59f4f0dd/mongo/db/repl/oplog_buffer_blocking_queue.o
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/liboplog_buffer_blocking_queue.a
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
ar rcsTD build/59f4f0dd/mongo/db/repl/libmultiapplier.a build/59f4f0dd/mongo/db/repl/multiapplier.o
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libmultiapplier.a
c++ -o build/59f4f0dd/mongo/db/db.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/db.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/59f4f0dd/mongo/util/net/ssl_options_server_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/storage/libstorage_engine_lock_file.a build/59f4f0dd/mongo/db/storage/storage_engine_lock_file.o build/59f4f0dd/mongo/db/storage/storage_engine_lock_file_posix.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/libstorage_engine_lock_file.a
c++ -o build/59f4f0dd/mongo/db/query/collation/collator_factory_icu_decoration.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/collation/collator_factory_icu_decoration.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/auth/libauth_op_observer.a build/59f4f0dd/mongo/db/auth/auth_op_observer.o
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/libcurop.a build/59f4f0dd/mongo/db/curop.o
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/auth/libauth_op_observer.a
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/59f4f0dd/mongo/util/net/ssl_options_server_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/59f4f0dd/mongo/s/query/libcluster_client_cursor.a build/59f4f0dd/mongo/s/query/cluster_client_cursor_impl.o
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libcurop.a
ar rcsTD build/59f4f0dd/mongo/db/repl/libabstract_async_component.a build/59f4f0dd/mongo/db/repl/abstract_async_component.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/query/libcluster_client_cursor.a
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/59f4f0dd/mongo/util/net/ssl_options_server_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/crypto/libsha1_block.a build/59f4f0dd/mongo/crypto/sha1_block.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/libabstract_async_component.a
ar rcsTD build/59f4f0dd/mongo/db/libbackground.a build/59f4f0dd/mongo/db/background.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/crypto/libsha1_block.a
ar rcsTD build/59f4f0dd/third_party/libstemmer_c/libstemmer.a build/59f4f0dd/third_party/libstemmer_c/runtime/api.o build/59f4f0dd/third_party/libstemmer_c/libstemmer/libstemmer_utf8.o build/59f4f0dd/third_party/libstemmer_c/src_c/stem_UTF_8_dutch.o build/59f4f0dd/third_party/libstemmer_c/src_c/stem_UTF_8_german.o build/59f4f0dd/third_party/libstemmer_c/src_c/stem_UTF_8_porter.o build/59f4f0dd/third_party/libstemmer_c/src_c/stem_UTF_8_spanish.o build/59f4f0dd/third_party/libstemmer_c/src_c/stem_UTF_8_english.o build/59f4f0dd/third_party/libstemmer_c/src_c/stem_UTF_8_hungarian.o build/59f4f0dd/third_party/libstemmer_c/src_c/stem_UTF_8_portuguese.o build/59f4f0dd/third_party/libstemmer_c/src_c/stem_UTF_8_swedish.o build/59f4f0dd/third_party/libstemmer_c/src_c/stem_UTF_8_finnish.o build/59f4f0dd/third_party/libstemmer_c/src_c/stem_UTF_8_italian.o build/59f4f0dd/third_party/libstemmer_c/src_c/stem_UTF_8_romanian.o build/59f4f0dd/third_party/libstemmer_c/src_c/stem_UTF_8_turkish.o build/59f4f0dd/third_party/libstemmer_c/src_c/stem_UTF_8_danish.o build/59f4f0dd/third_party/libstemmer_c/src_c/stem_UTF_8_french.o build/59f4f0dd/third_party/libstemmer_c/src_c/stem_UTF_8_norwegian.o build/59f4f0dd/third_party/libstemmer_c/src_c/stem_UTF_8_russian.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/libbackground.a
ar rcsTD build/59f4f0dd/mongo/util/net/libnetwork.a build/59f4f0dd/mongo/util/net/cidr.o build/59f4f0dd/mongo/util/net/hostandport.o build/59f4f0dd/mongo/util/net/hostname_canonicalization.o build/59f4f0dd/mongo/util/net/sockaddr.o build/59f4f0dd/mongo/util/net/socket_exception.o build/59f4f0dd/mongo/util/net/socket_utils.o build/59f4f0dd/mongo/util/net/hostandport_gen.o
Skipping ranlib for thin archive build/59f4f0dd/third_party/libstemmer_c/libstemmer.a
ar rcsTD build/59f4f0dd/mongo/db/storage/wiredtiger/libstorage_wiredtiger_customization_hooks.a build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_customization_hooks.o build/59f4f0dd/mongo/db/storage/wiredtiger/wiredtiger_extensions.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/net/libnetwork.a
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/wiredtiger/libstorage_wiredtiger_customization_hooks.a
ar rcsTD build/59f4f0dd/mongo/db/catalog/libindex_catalog.a build/59f4f0dd/mongo/db/catalog/index_catalog.o
ar rcsTD build/59f4f0dd/mongo/db/catalog/libhealth_log.a build/59f4f0dd/mongo/db/catalog/health_log.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/catalog/libindex_catalog.a
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
ar rcsTD build/59f4f0dd/mongo/s/query/librouter_exec_stage.a build/59f4f0dd/mongo/s/query/document_source_merge_cursors.o build/59f4f0dd/mongo/s/query/document_source_update_on_add_shard.o build/59f4f0dd/mongo/s/query/router_stage_limit.o build/59f4f0dd/mongo/s/query/router_stage_mock.o build/59f4f0dd/mongo/s/query/router_stage_pipeline.o build/59f4f0dd/mongo/s/query/router_stage_remove_metadata_fields.o build/59f4f0dd/mongo/s/query/router_stage_skip.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/catalog/libhealth_log.a
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/59f4f0dd/mongo/db/query/libmap_reduce_output_format.a build/59f4f0dd/mongo/db/query/map_reduce_output_format.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/query/librouter_exec_stage.a
ar rcsTD build/59f4f0dd/mongo/db/storage/libsnapshot_helper.a build/59f4f0dd/mongo/db/storage/snapshot_helper.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/query/libmap_reduce_output_format.a
ar rcsTD build/59f4f0dd/mongo/util/libsafe_num.a build/59f4f0dd/mongo/util/safe_num.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/libsnapshot_helper.a
ar rcsTD build/59f4f0dd/mongo/db/storage/ephemeral_for_test/libephemeral_for_test_record_store.a build/59f4f0dd/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_record_store.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/libsafe_num.a
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/storage/ephemeral_for_test/libephemeral_for_test_record_store.a
Generating build/59f4f0dd/mongo/db/process_health/health_monitoring_server_parameters_gen.cpp
c++ -o build/59f4f0dd/mongo/s/commands/cluster_rwc_defaults_commands.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/commands/cluster_rwc_defaults_commands.cpp
Generating build/59f4f0dd/mongo/db/auth/user_cache_invalidator_job_parameters_gen.cpp
c++ -o build/59f4f0dd/mongo/db/process_health/test_health_observer.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/process_health/test_health_observer.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/59f4f0dd/mongo/db/query/count_command_gen.cpp:16:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/db/process_health/fault_manager_config.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/process_health/fault_manager_config.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/59f4f0dd/mongo/db/query/count_command_gen.cpp:16:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/59f4f0dd/mongo/db/query/count_command_gen.cpp:16:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/59f4f0dd/mongo/db/query/count_command_gen.cpp:16:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/db/repl/liboplog.a build/59f4f0dd/mongo/db/repl/apply_ops.o build/59f4f0dd/mongo/db/repl/oplog.o build/59f4f0dd/mongo/db/repl/oplog_entry_or_grouped_inserts.o build/59f4f0dd/mongo/db/repl/transaction_oplog_application.o build/59f4f0dd/mongo/db/repl/apply_ops_gen.o
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/repl/liboplog.a
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/db/auth/user_cache_invalidator_job.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/user_cache_invalidator_job.cpp
ar rcsTD build/59f4f0dd/mongo/db/query/collation/libcollator_factory_icu.a build/59f4f0dd/mongo/db/query/collation/collator_factory_icu_decoration.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/query/collation/libcollator_factory_icu.a
c++ -o build/59f4f0dd/mongo/s/commands/cluster_compact_cmd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/commands/cluster_compact_cmd.cpp
c++ -o build/59f4f0dd/mongo/s/commands/cluster_repl_set_get_status_cmd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/commands/cluster_repl_set_get_status_cmd.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/s/commands/cluster_rwc_defaults_commands.cpp:35:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/op_observer.h:35,
                 from src/mongo/db/auth/auth_op_observer.h:32,
                 from src/mongo/db/db.cpp:50:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/op_observer.h:35,
                 from src/mongo/db/auth/auth_op_observer.h:32,
                 from src/mongo/db/db.cpp:50:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/s/commands/cluster_rwc_defaults_commands.cpp:35:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/util/net/libssl_options_server.a build/59f4f0dd/mongo/util/net/ssl_options_server.o build/59f4f0dd/mongo/util/net/ssl_options_server_gen.o
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/s/commands/cluster_rwc_defaults_commands.cpp:35:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
Skipping ranlib for thin archive build/59f4f0dd/mongo/util/net/libssl_options_server.a
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/op_observer.h:35,
                 from src/mongo/db/auth/auth_op_observer.h:32,
                 from src/mongo/db/db.cpp:50:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/s/commands/cluster_update_zone_key_range_cmd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/commands/cluster_update_zone_key_range_cmd.cpp
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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/op_observer.h:35,
                 from src/mongo/db/auth/auth_op_observer.h:32,
                 from src/mongo/db/db.cpp:50:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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: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/s/commands/cluster_rwc_defaults_commands.cpp:35:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/s/router_transactions_server_status.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/router_transactions_server_status.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/s/commands/cluster_compact_cmd.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/auth/user_cache_invalidator_job.cpp:44:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
ar rcsTD build/59f4f0dd/mongo/db/query/libcommand_request_response.a build/59f4f0dd/mongo/db/query/count_command_as_aggregation_command.o build/59f4f0dd/mongo/db/query/count_request.o build/59f4f0dd/mongo/db/query/cursor_request.o build/59f4f0dd/mongo/db/query/cursor_response.o build/59f4f0dd/mongo/db/query/find_and_modify_request.o build/59f4f0dd/mongo/db/query/getmore_request.o build/59f4f0dd/mongo/db/query/killcursors_request.o build/59f4f0dd/mongo/db/query/killcursors_response.o build/59f4f0dd/mongo/db/query/view_response_formatter.o build/59f4f0dd/mongo/db/query/count_command_gen.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/db/query/libcommand_request_response.a
c++ -o build/59f4f0dd/mongo/s/commands/cluster_data_size_cmd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/commands/cluster_data_size_cmd.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/s/commands/cluster_repl_set_get_status_cmd.cpp:33:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/s/commands/cluster_compact_cmd.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
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/auth/user_cache_invalidator_job.cpp:44:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/s/commands/cluster_compact_cmd.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/commands/cluster_compact_cmd.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from src/mongo/db/auth/user_cache_invalidator_job.cpp:44:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from src/mongo/s/commands/cluster_repl_set_get_status_cmd.cpp:33:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388: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/auth/user_cache_invalidator_job.cpp:44:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/commands/cluster_repl_set_get_status_cmd.cpp:33:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/s/commands/cluster_repl_set_get_status_cmd.cpp:33:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/s/commands/cluster_update_zone_key_range_cmd.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/commands/server_status.h:32,
                 from src/mongo/s/router_transactions_server_status.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/s/commands/cluster_update_zone_key_range_cmd.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/commands/cluster_update_zone_key_range_cmd.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_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/s/router_transactions_server_status.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595: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/s/commands/cluster_update_zone_key_range_cmd.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/router_transactions_server_status.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/commands/server_status.h:32,
                 from src/mongo/s/router_transactions_server_status.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/s/commands/cluster_data_size_cmd.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/s/commands/cluster_data_size_cmd.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/s/commands/cluster_move_chunk_cmd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/commands/cluster_move_chunk_cmd.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/commands/cluster_data_size_cmd.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/s/commands/cluster_data_size_cmd.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/s/commands/cluster_oplog_note_cmd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/commands/cluster_oplog_note_cmd.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/s/commands/cluster_ftdc_commands.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/commands/cluster_ftdc_commands.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/s/sharding_egress_metadata_hook_for_mongos.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/sharding_egress_metadata_hook_for_mongos.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/s/commands/cluster_move_chunk_cmd.cpp:39:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/s/commands/cluster_remove_shard_from_zone_cmd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/commands/cluster_remove_shard_from_zone_cmd.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/s/commands/cluster_move_chunk_cmd.cpp:39:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/commands/cluster_oplog_note_cmd.cpp:34:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/s/commands/cluster_move_chunk_cmd.cpp:39:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/s/commands/cluster_move_chunk_cmd.cpp:39:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from src/mongo/s/commands/cluster_oplog_note_cmd.cpp:34:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/s/sharding_uptime_reporter.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/sharding_uptime_reporter.cpp
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/commands/cluster_oplog_note_cmd.cpp:34:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/s/commands/cluster_oplog_note_cmd.cpp:34:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/s/commands/cluster_refine_collection_shard_key_cmd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/commands/cluster_refine_collection_shard_key_cmd.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/s/commands/cluster_ftdc_commands.cpp:36:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/s/commands/cluster_ftdc_commands.cpp:36:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/commands/cluster_ftdc_commands.cpp:36:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/s/commands/cluster_ftdc_commands.cpp:36:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/s/commands/cluster_remove_shard_from_zone_cmd.cpp:37:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/s/commands/cluster_remove_shard_from_zone_cmd.cpp:37:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/commands/cluster_remove_shard_from_zone_cmd.cpp:37:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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
ar rcsTD build/59f4f0dd/mongo/s/libsharding_egress_metadata_hook_for_mongos.a build/59f4f0dd/mongo/s/sharding_egress_metadata_hook_for_mongos.o
Skipping ranlib for thin archive build/59f4f0dd/mongo/s/libsharding_egress_metadata_hook_for_mongos.a
c++ -o build/59f4f0dd/mongo/s/commands/commands_public.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/commands/commands_public.cpp
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/s/commands/cluster_remove_shard_from_zone_cmd.cpp:37:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 src/mongo/s/commands/cluster_refine_collection_shard_key_cmd.cpp:35:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/s/commands/cluster_refine_collection_shard_key_cmd.cpp:35:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
Using tempfile /tmp/tmp16j7820q.lnk for command line:
c++ -o build/59f4f0dd/mongo/mongod -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/gcc10/lib/gcc/x86_64--netbsd/10.5.0 -Wl,-R/usr/pkg/gcc10/lib/gcc/x86_64--netbsd/10.5.0 -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -lexecinfo -pthread -Wl,-z,now -rdynamic -Wl,-z,origin -Wl,--enable-new-dtags -Wl,-R\$ORIGIN/../lib build/59f4f0dd/mongo/db/db.o build/59f4f0dd/mongo/db/logical_session_cache_factory_mongod.o build/59f4f0dd/mongo/db/read_write_concern_defaults_cache_lookup_mongod.o -Wl,--whole-archive build/59f4f0dd/mongo/watchdog/libwatchdog_mongod.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/watchdog/libwatchdog_register.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/watchdog/libwatchdog.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/options_parser/liboptions_parser_init.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/net/libhttp_client_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/libalarm.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/libversion_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/libtesting_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/liblatch_analyzer.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/transport/libmessage_compressor_options_server.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/libmongod_options_init.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/net/libssl_options_server.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/wiredtiger/libstorage_wiredtiger.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/wiredtiger/libstorage_wiredtiger_core.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/third_party/libshim_wiredtiger.a -Wl,--no-whole-archive build/59f4f0dd/third_party/wiredtiger/libwiredtiger.a -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/wiredtiger/libstorage_wiredtiger_customization_hooks.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/wiredtiger/liboplog_stone_parameters.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/libstorage_init_d.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/ephemeral_for_test/libstorage_ephemeral_for_test.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/ephemeral_for_test/libstorage_ephemeral_for_test_core.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/devnull/libstorage_devnull.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/devnull/libstorage_devnull_core.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/ephemeral_for_test/libephemeral_for_test_record_store.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/biggie/libstorage_biggie.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/biggie/libstorage_biggie_core.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/s/libsharding_commands_d.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/s/libsessions_collection_config_server.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/libsessions_collection_sharded.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/s/libop_observer_sharding_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libstorage_interface_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/liboplog_cap_maintainer_thread.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/librepl_set_commands.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libserveronly_repl.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libreplication_recovery.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libreplication_info.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libspeculative_authenticate.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libcloner.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/librepl_set_status_commands.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/librepl_coordinator_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libscatter_gather.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libreporter.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libdata_replicator_external_state_initial_sync.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libbgsync.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libsync_source_resolver.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/librs_rollback.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/librollback_source_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/librollback_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libroll_back_local_operations.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/liboplog_interface_remote.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/liboplog_interface_local.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libdata_replicator_external_state_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/liboplog_buffer_proxy.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/liboplog_buffer_collection.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/liboplog_application.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libreplication_metrics.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libtopology_coordinator.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libelection_reason_counter_parser.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libelection_reason_counter.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libinitial_syncer.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/librollback_checker.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/liboplog_fetcher.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/liboplog_buffer_blocking_queue.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/liboplog_application_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libmultiapplier.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libinitial_sync_cloners.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libtask_runner.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libreplication_consistency_markers_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libreplication_consistency_markers_idl.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libreplication_auth.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libmember_data.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libinitial_sync_shared_data.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libabstract_async_component.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/client/libconnection_pool.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libttl_d.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libstartup_warnings_mongod.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libstartup_warnings_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libsessions_collection_standalone.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libsessions_collection_rs.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libservice_liaison_mongod.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libservice_context_d.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/transport/libservice_entry_point.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libservice_entry_point_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/librepair_database_and_check_version.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/libdowngraded_unique_indexes.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/librepair_database.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libread_concern_d_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libperiodic_runner_job_decrease_snapshot_cache_pressure.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libsnapshot_window_util.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libsnapshot_window_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libperiodic_runner_job_abort_expired_transactions.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libmirror_maestro.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libtopology_version_observer.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libclient_out_of_line_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libkeys_collection_client_direct.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libinitialize_snmp.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libinitialize_server_security_state.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/net/libssl_parameters_auth.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libserverinit.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/auth/libsecurity_key.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/auth/libsecurity_file.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libfeature_compatibility_version_metrics.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/fts/libftsmongod.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/ftdc/libftdc_mongod.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/ftdc/libftdc_server.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/ftdc/libftdc.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/commands/libserver_status_servers.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/commands/libmongod.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/s/libsharding_runtime_d.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/query/libcluster_aggregate.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/pipeline/process_interface/libmongos_process_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/libsharding_initialization.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/libperiodic_runner_factory.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/libperiodic_runner_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/libsharding_task_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/catalog/libreplset_dist_lock_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/catalog/libdist_lock_catalog_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/catalog/libdist_lock_catalog_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/client/libremote_command_targeter.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/executor/libasync_multicaster.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/client/libshard_local.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/client/librs_local_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/s/libtransaction_coordinator.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/s/libsharding_catalog_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/s/libtype_shard_identity.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/s/libbalancer.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/s/libsharding_runtime_d_params.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/s/libsharding_logging.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/s/libchunk_splitter.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libop_observer_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/exec/libstagedebug_cmd.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/commands/libstandalone.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libcommand_can_run_here.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/commands/libwrite_commands_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/commands/librename_collection_idl.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/commands/liblist_databases_command.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/commands/liblist_collections_filter.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/commands/libcurrent_op_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/catalog/libcollection_validation.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/commands/libshell_protocol.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/commands/libset_index_commit_quorum_idl.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/librw_concern_d.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/commands/libprofile_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/commands/libmongod_fsync.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/commands/libmongod_fcv.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libkill_sessions_local.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/commands/libmap_reduce_agg.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/query/libmap_reduce_output_format.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/pipeline/process_interface/libmongod_process_interface_factory.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/pipeline/process_interface/libshardsvr_process_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/libsharding_api.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/write_ops/libcluster_write_op.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/pipeline/process_interface/libmongod_process_interfaces.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/libbackup_cursor_hooks.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/pipeline/process_interface/libcommon_process_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/ops/libwrite_ops_exec.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libcurop_metrics.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libindex_builds_coordinator_mongod.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/pipeline/process_interface/libmongo_process_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/commands/libservers.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/libntservice.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/libsignal_handlers.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/libsharding_legacy_api.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/libcluster_last_error_info.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libisself.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/pipeline/libdocument_source_internal_apply_oplog_update.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/pipeline/libsharded_agg_helpers.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/query/libcluster_query.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/query/libstore_possible_cursor.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/query/libcluster_cursor_cleanup_job.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/query/libcluster_client_cursor.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/query/librouter_exec_stage.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/query/libasync_results_merger.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/catalog/libsharding_catalog_client_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/catalog/libdist_lock_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/libsharding_router_api.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libshared_request_handling.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/libasync_requests_sender.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/libhedge_options_util.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/libcoreshard.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libclient_metadata_propagation_egress_hook.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/client/libsharding_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/client/libfetcher.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/executor/libscoped_task_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/commands/libshared_cluster_commands.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/libgrid.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/query/libcluster_cursor_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/client/libshard_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/client/libremote_command_retry_scheduler.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/executor/libtask_executor_pool.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/liblogical_time_metadata_hook.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libtraffic_recorder.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libread_write_concern_defaults.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/liblog_process_details.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/commands/libmap_reduce_parser.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/commands/libkill_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/liboperation_killer.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/commands/libcore.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/liblogical_session_cache_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libservice_liaison.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/catalog/libhealth_log.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/concurrency/libdeferred_writer.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/catalog/libcatalog_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/views/libviews_mongod.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/libstorage_engine_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/libtwo_phase_index_build_knobs_idl.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/catalog/libcatalog_control.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/librebuild_indexes.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/libstorage_engine_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/libstorage_engine_metadata.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/libstorage_engine_lock_file.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/libstorage_control.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/libstorage_debug_util.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/libdurable_catalog_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/libbson_collection_catalog_entry.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/kv/libkv_drop_pending_ident_reaper.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/kv/libkv_prefix.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/liboplog.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/stats/libserver_read_concern_write_concern_metrics.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libdbcheck.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/commands/libfeature_compatibility_parsers.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/catalog/libcatalog_helpers.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libdrop_pending_collection_reaper.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libtransaction.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/stats/libtransaction_stats.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/librepl_server_parameters.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libsession_catalog.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/commands/libtxn_cmd_request.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libsystem_index.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libindex_builds_coordinator_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libtimestamp_block.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libindex_build_entry_helpers.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/catalog/libindex_builds_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/libstorage_repair_observer.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/libstorage_file_util.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/libjournal_flusher.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/catalog/libindex_build_oplog_entry.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/catalog/libindex_build_entry_idl.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/catalog/libcommit_quorum_idl.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/catalog/libcommit_quorum_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/catalog/libmulti_index_block.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/index/libindex_access_method_factory.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/catalog/libvalidate_state.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/catalog/libthrottle_cursor.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/catalog/libvalidate_idl.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/catalog/libindex_key_validate.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/catalog/libindex_build_block.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libttl_collection_cache.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/index/libindex_build_interceptor.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/index/libindex_access_methods.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/index/libduplicate_key_tracker.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/catalog/libindex_timestamp_helper.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/catalog/libcollection_catalog_helper.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/auth/libauthmongod.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libdbhelpers.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libwrite_ops.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libimage_collection_entry.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libintrospect.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libquery_exec.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/libelapsed_tracker.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/libremove_saver.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/liboplog_hack.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/stats/libserveronly_stats.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/stats/libfill_locker_info.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/query/libquery_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/query/libdistinct_command_idl.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/query/datetime/libinit_timezone_data.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/query/collation/libcollator_factory_icu.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/query/collation/libcollator_icu.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/ops/libparsed_update.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/matcher/libexpressions_mongod_only.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/scripting/libscripting_server.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libkill_sessions.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libcursor_server_params.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/catalog/libhealth_log_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/catalog/libcollection_query_info.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libcollection_index_usage_tracker.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/index/libindex_access_method.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/libindex_entry_comparison.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/libduplicate_key_error_info.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/index/libskipped_record_tracker.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libdbdirectclient.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/liblasterror.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libdb_raii.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/libsnapshot_helper.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/stats/libtop.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libcatalog_raii.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/views/libviews.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/pipeline/libaggregation.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/liblocal_oplog_info.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/libflow_control.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/libflow_control_parameters.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/commands/libserver_status.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libmongod_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libreplica_set_messages.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libsplit_horizon.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libserver_options_servers.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libserver_options_base.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/catalog/libdatabase_holder.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/auth/libauthservercommon.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/commands/libauthentication_commands.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/auth/libsaslauth.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/auth/libsasl_options_init.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/auth/libauth_impl_internal_local.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/auth/libauth_impl_internal.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/catalog/libdocument_validation.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/auth/libuser_document_parser.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/auth/librole_graph_update.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/update/libupdate_driver.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/update/libupdate.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/pipeline/libpipeline.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/views/libresolved_view.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libspeculative_majority_read_info.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/pipeline/libgranularity_rounder.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/pipeline/libexpression_javascript.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/pipeline/libaccumulator.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libsessions_collection.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/write_ops/libbatch_write_types.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/liberror_labels.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/pipeline/liblite_parsed_document_source.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/liblogical_session_id_helpers.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/liblogical_session_cache.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libcurop_failpoint_helpers.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libcurop.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/libprogress_meter.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/libdiagnostic_info.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/stats/libtimer_stats.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libprepare_conflict_tracker.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libgeneric_cursor.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libcommands.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libaudit.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libbackground.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/exec/libsort_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/libencryption_hooks.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/exec/libscoped_timer.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/commands/libfsync_locked.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libupdate_index_data.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/auth/libauth_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/auth/libuser.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/auth/libsasl_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/auth/librole_graph.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/auth/libauthorization_manager_global.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/auth/libauth_op_observer.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/s/libsharding_api_d.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/librange_arithmetic.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/concurrency/liblock_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/concurrency/libflow_control_ticketholder.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libop_observer_util.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/libsharding_routing_table.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/concurrency/libticketholder.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/libchunk_writes_tracker.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/update/libupdate_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/liboplog_entry.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/query/libquery_planner.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/index/libkey_generator.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/query/libsort_pattern.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/query/libprojection_ast.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/pipeline/libdocument_path_support.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/fts/libbase_fts.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/third_party/libshim_stemmer.a -Wl,--no-whole-archive build/59f4f0dd/third_party/libstemmer_c/libstemmer.a -Wl,--whole-archive build/59f4f0dd/mongo/db/fts/unicode/libunicode.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/liblinenoise_utf8.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/exec/libworking_set.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/index/libexpression_params.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/exec/libprojection_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/matcher/libexpressions.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/pipeline/libexpression.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/libsummation.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/libregex_util.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/pipeline/libexpression_context.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/scripting/libscripting.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/third_party/libshim_mozjs.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/third_party/mozjs-60/libmozjs.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/scripting/libscripting_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/shell/libmongojs.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/scripting/libbson_template_evaluator.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/client/libclientdriver_network.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/executor/libthread_pool_task_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/executor/libnetwork_interface_thread_pool.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/executor/libnetwork_interface_factory.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/executor/libnetwork_interface_tl.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/transport/libtransport_layer_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/transport/libservice_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/transport/libtransport_layer.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/libexecutor_stats.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/base/libsystem_error.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/executor/libhedging_metrics.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/client/libasync_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/transport/libmessage_compressor.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/third_party/libshim_zstd.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/third_party/libshim_zlib.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/third_party/libshim_snappy.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/executor/libconnection_pool_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/executor/libegress_tag_closer_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/executor/libnetwork_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/executor/libconnection_pool_stats.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/client/sdam/libsdam.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/executor/libtask_executor_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/client/sdam/libsdam_configuration_parameters.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/client/libreplica_set_monitor_server_parameters.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/client/libclientdriver_minimal.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/net/libssl_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/third_party/libshim_asio.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/third_party/asio-master/libasio.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/net/libssl_types.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/net/libsocket.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/net/libopenssl_init.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/net/libssl_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/libcaching.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/libbackground_job.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/concurrency/libthread_pool.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/client/libclient_query.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/client/libauthentication.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/client/libsasl_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/libicu.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/libicu_init.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/third_party/libshim_icu.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/executor/libremote_command.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/client/libsasl_aws_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/third_party/libshim_kms_message.a -Wl,--no-whole-archive build/59f4f0dd/third_party/kms-message/libkms-message.a -Wl,--whole-archive build/59f4f0dd/mongo/client/libsasl_aws_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/base/libsecure_allocator.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/libsecure_zero_memory.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/stats/libcounters.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/query/libquery_knobs.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/query/collation/libcollator_factory_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/pipeline/libaggregation_request.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/query/libexplain_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/query/libcommand_request_response.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/rpc/librpc.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/rpc/librewrite_state_change_errors.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/rpc/libprotocol.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/third_party/wiredtiger/libwiredtiger_checksum.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libwire_version.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/rpc/libmetadata.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/rpc/libclient_metadata.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/libprocessinfo.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/libis_mongos.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/liblogical_time_validator.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libsigned_logical_time.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libkeys_collection_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/librepl_coordinator_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libreplication_process.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libstorage_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/librollback_idl.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libkeys_collection_client_sharded.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/catalog/libsharding_catalog_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/liblogical_clock.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libglobal_settings.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/librepl_settings.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libkeys_collection_document.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libtime_proof_service.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/auth/libauthprivilege.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/rpc/libmetadata_impersonated_user.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libserver_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/cmdline_utils/libcmdline_utils.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/auth/libaddress_restriction.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/auth/libauthentication_restriction.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/bson/mutable/libmutable_bson.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/libsafe_num.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/client/libread_preference.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/rpc/libcommand_status.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/ops/libwrite_ops_parsers.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/query/libhint_parser.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libdbmessage.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/transport/libtransport_layer_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/pipeline/libdocument_sources_idl.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/libcommon_s.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/s/libmongos_server_parameters.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/query/libquery_request.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/libread_concern_args.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/liblogical_time.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/catalog/libcollection_catalog.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libprofile_filter.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/concurrency/libwrite_conflict_exception.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/liblog_and_backoff.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/client/libconnection_string.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/libdns_query.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/pipeline/libruntime_constants_idl.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/pipeline/libdependencies.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libmongohasher.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/libmd5.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/exec/document_value/libdocument_value.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/libintrusive_counter.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/query/datetime/libdate_time_support.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/third_party/libshim_timelib.a -Wl,--no-whole-archive build/59f4f0dd/third_party/timelib/libtimelib.a -Wl,--whole-archive build/59f4f0dd/mongo/db/pipeline/libfield_path.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/matcher/libpath.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/geo/libgeoparser.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/geo/libgeometry.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/third_party/s2/libs2.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/third_party/s2/util/math/libmath.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/third_party/s2/util/coding/libcoding.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/third_party/s2/strings/libstrings.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/third_party/s2/base/libbase_s2.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libcommon.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/process_health/libprocess_health_feature_flag.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/fts/libfts_query_noop.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/bson/libdotted_path_support.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libop_observer.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/index/libindex_descriptor.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libnamespace_string.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/liboptime.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/repl/liboptime_base.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libindex_names.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/commands/libtest_commands_enabled.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/catalog/libindex_catalog.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/catalog/libindex_catalog_entry.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/catalog/libcollection.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/catalog/libcollection_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/query/collation/libcollator_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/auth/libauth.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libservice_context.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/libperiodic_runner.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/libclock_sources.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/libwrite_unit_of_work.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/libstorage_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/librecovery_unit_base.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/libfail_point.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libwrite_concern_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libread_write_concern_provenance.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/bson/util/libbson_extract.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libmulti_key_path_tracker.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/storage/libkey_string.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/liblogical_session_id.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/idl/libserver_parameter.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/options_parser/liboptions_parser.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/third_party/libshim_yaml.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/net/libnetwork.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/libwinutil.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/concurrency/libspin_lock.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libserver_options_core.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/net/libhttp_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/idl/libidl_parser.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/libcommand_generic_argument.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/db/commands/libserver_status_core.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/crypto/libsha_block_openssl.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/crypto/libsha1_block.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/crypto/libsha256_block.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/libsecure_compare_memory.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/libbase.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/third_party/murmurhash3/libmurmurhash3.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/third_party/libshim_pcrecpp.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/third_party/libshim_intel_decimal128.a -Wl,--no-whole-archive build/59f4f0dd/third_party/IntelRDFPMathLib20U1/libintel_decimal128.a -Wl,--whole-archive build/59f4f0dd/third_party/libshim_fmt.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/third_party/fmt/libfmt.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/third_party/libshim_boost.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/third_party/boost-1.70.0/libboost_program_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/third_party/boost-1.70.0/libboost_log.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/third_party/boost-1.70.0/libboost_thread.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/third_party/boost-1.70.0/libboost_iostreams.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/third_party/boost-1.70.0/libboost_filesystem.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/third_party/boost-1.70.0/libboost_system.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/third_party/libshim_abseil.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/third_party/abseil-cpp-master/libabsl_container.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/third_party/abseil-cpp-master/libabsl_throw_delegate.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/third_party/abseil-cpp-master/libabsl_hash.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/util/libquick_exit.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/third_party/libshim_allocator.a -Wl,--no-whole-archive build/59f4f0dd/mongo/util/libdebugger.a -Wl,--whole-archive build/59f4f0dd/mongo/stdx/libstdx.a -Wl,--no-whole-archive -Wl,--whole-archive build/59f4f0dd/mongo/libboost_assert_shim.a -Wl,--no-whole-archive -lcurl -lzstd -lz -lsnappy -licudata -licui18n -licuuc -lyaml-cpp -lpcre -lpcrecpp -lkvm -lcrypto -lssl -lcrypto -lrt -lexecinfo
c++ @/tmp/tmp16j7820q.lnk
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/commands/cluster_refine_collection_shard_key_cmd.cpp:35:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/s/commands/cluster_refine_collection_shard_key_cmd.cpp:35:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/s/commands/cluster_getmore_cmd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/commands/cluster_getmore_cmd.cpp
c++ -o build/59f4f0dd/mongo/s/commands/cluster_killoperations_cmd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/commands/cluster_killoperations_cmd.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/s/commands/commands_public.cpp:40:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
c++ -o build/59f4f0dd/mongo/s/commands/strategy.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/commands/strategy.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/s/commands/commands_public.cpp:40:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
c++ -o build/59f4f0dd/mongo/s/commands/cluster_shutdown_cmd.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/commands/cluster_shutdown_cmd.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/explain.h:34,
                 from src/mongo/db/commands.h:47,
                 from src/mongo/s/commands/commands_public.cpp:40:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/s/commands/commands_public.cpp:40:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/s/service_entry_point_mongos.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/s/service_entry_point_mongos.cpp
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
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/s/commands/cluster_getmore_cmd.cpp:33:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 src/mongo/db/commands/killoperations_common.h:43,
                 from src/mongo/s/commands/cluster_killoperations_cmd.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/s/commands/cluster_getmore_cmd.cpp:33:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/commands/cluster_getmore_cmd.cpp:33:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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_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/killoperations_common.h:43,
                 from src/mongo/s/commands/cluster_killoperations_cmd.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/killoperations_common.h:43,
                 from src/mongo/s/commands/cluster_killoperations_cmd.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/exec/plan_stage.h:37,
                 from src/mongo/db/query/explain.h:32,
                 from src/mongo/db/commands.h:47,
                 from src/mongo/s/commands/cluster_shutdown_cmd.cpp:32:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92: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/killoperations_common.h:43,
                 from src/mongo/s/commands/cluster_killoperations_cmd.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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: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/s/commands/cluster_getmore_cmd.cpp:33:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
c++ -o build/59f4f0dd/mongo/db/auth/authz_session_external_state_s.o -c -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/krb5 -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -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 -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -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 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/authz_session_external_state_s.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/s/commands/cluster_shutdown_cmd.cpp:32:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/commands/cluster_shutdown_cmd.cpp:32:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/s/commands/cluster_shutdown_cmd.cpp:32:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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 src/mongo/s/commands/strategy.cpp:46:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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
/usr/bin/ld: build/59f4f0dd/mongo/db/db.o: in function `mongo::(anonymous namespace)::logStartup(mongo::OperationContext*)':
db.cpp:(.text+0x10b8): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: db.cpp:(.text+0x1aa9): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: db.cpp:(.text+0x1af0): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: db.cpp:(.text+0x1b37): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: db.cpp:(.text+0x1b7e): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/db/db.o:db.cpp:(.text+0x1bc5): more undefined references to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()' follow
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/s/commands/strategy.cpp:46:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
/usr/bin/ld: build/59f4f0dd/mongo/db/commands/dbcommands.o: in function `mongo::(anonymous namespace)::CmdDatasize::errmsgRun(mongo::OperationContext*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, mongo::BSONObj const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, mongo::BSONObjBuilder&)':
dbcommands.cpp:(.text+0x304a): undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()'
/usr/bin/ld: dbcommands.cpp:(.text+0x3fab): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: dbcommands.cpp:(.text+0x3ff6): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/db/commands/find_cmd.o: in function `mongo::(anonymous namespace)::FindCmd::Invocation::appendMirrorableRequest(mongo::BSONObjBuilder*) const':
find_cmd.cpp:(.text+0x1da3): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/db/commands/getmore_cmd.o: in function `mongo::(anonymous namespace)::GetMoreCmd::Invocation::acquireLocksAndIterateCursor(mongo::OperationContext*, mongo::rpc::ReplyBuilderInterface*, mongo::CursorManager*, mongo::ClientCursorPin&, mongo::CurOp*) [clone .constprop.0]':
getmore_cmd.cpp:(.text+0x3e1a): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/db/commands/http_client_gen.o: in function `mongo::HttpClientReply::toBSON() const':
http_client_gen.cpp:(.text+0x202f): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/db/commands/http_client_gen.o:http_client_gen.cpp:(.text+0x2505): more undefined references to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()' follow
/usr/bin/ld: build/59f4f0dd/mongo/s/balancer_configuration.o: in function `mongo::BalancerSettingsType::isTimeInBalancingWindow(boost::posix_time::ptime const&) const':
balancer_configuration.cpp:(.text+0x18ba): undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()'
/usr/bin/ld: balancer_configuration.cpp:(.text+0x1901): undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()'
/usr/bin/ld: balancer_configuration.cpp:(.text+0x1936): undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/s/balancer_configuration.o: in function `boost::date_time::time_facet<boost::posix_time::ptime, char, std::ostreambuf_iterator<char, std::char_traits<char> > >::put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, boost::posix_time::ptime const&) const':
balancer_configuration.cpp:(.text._ZNK5boost9date_time10time_facetINS_10posix_time5ptimeEcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE3putES7_RSt8ios_basecRKS3_[_ZNK5boost9date_time10time_facetINS_10posix_time5ptimeEcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE3putES7_RSt8ios_basecRKS3_]+0x26a): undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()'
/usr/bin/ld: balancer_configuration.cpp:(.text._ZNK5boost9date_time10time_facetINS_10posix_time5ptimeEcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE3putES7_RSt8ios_basecRKS3_[_ZNK5boost9date_time10time_facetINS_10posix_time5ptimeEcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE3putES7_RSt8ios_basecRKS3_]+0x44a): undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/s/balancer_configuration.o:balancer_configuration.cpp:(.text._ZNK5boost9date_time10time_facetINS_10posix_time5ptimeEcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE3putES7_RSt8ios_basecRKS3_[_ZNK5boost9date_time10time_facetINS_10posix_time5ptimeEcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE3putES7_RSt8ios_basecRKS3_]+0x554): more undefined references to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' follow
/usr/bin/ld: build/59f4f0dd/mongo/db/traffic_recorder_gen.o: in function `mongo::StopRecordingTraffic::serialize(mongo::BSONObj const&) const':
traffic_recorder_gen.cpp:(.text+0x2b83): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/db/commands/map_reduce_gen.o: in function `mongo::MapReduce::toBSON(mongo::BSONObj const&) const':
map_reduce_gen.cpp:(.text+0x37c3): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/db/commands/kill_operations_gen.o: in function `mongo::KillOperationsRequest::serialize(mongo::BSONObj const&, mongo::BSONObjBuilder*) const':
kill_operations_gen.cpp:(.text+0x1fc4): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/db/commands/fail_point_cmd.o: in function `mongo::FaultInjectCmd::run(mongo::OperationContext*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, mongo::BSONObj const&, mongo::BSONObjBuilder&)':
fail_point_cmd.cpp:(.text._ZN5mongo14FaultInjectCmd3runEPNS_16OperationContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7BSONObjERNS_14BSONObjBuilderE[_ZN5mongo14FaultInjectCmd3runEPNS_16OperationContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7BSONObjERNS_14BSONObjBuilderE]+0x570): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: fail_point_cmd.cpp:(.text._ZN5mongo14FaultInjectCmd3runEPNS_16OperationContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7BSONObjERNS_14BSONObjBuilderE[_ZN5mongo14FaultInjectCmd3runEPNS_16OperationContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7BSONObjERNS_14BSONObjBuilderE]+0x5c1): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/db/commands/fail_point_cmd.o:fail_point_cmd.cpp:(.text._ZN5mongo14FaultInjectCmd3runEPNS_16OperationContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7BSONObjERNS_14BSONObjBuilderE[_ZN5mongo14FaultInjectCmd3runEPNS_16OperationContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7BSONObjERNS_14BSONObjBuilderE]+0x612): more undefined references to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()' follow
/usr/bin/ld: build/59f4f0dd/mongo/db/auth/authorization_manager_impl.o: in function `mongo::address_restriction_detail::AddressRestriction<mongo::address_restriction_detail::ClientSource>::validate(mongo::RestrictionEnvironment const&) const':
authorization_manager_impl.cpp:(.text._ZNK5mongo26address_restriction_detail18AddressRestrictionINS0_12ClientSourceEE8validateERKNS_22RestrictionEnvironmentE[_ZNK5mongo26address_restriction_detail18AddressRestrictionINS0_12ClientSourceEE8validateERKNS_22RestrictionEnvironmentE]+0x150): undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()'
/usr/bin/ld: authorization_manager_impl.cpp:(.text._ZNK5mongo26address_restriction_detail18AddressRestrictionINS0_12ClientSourceEE8validateERKNS_22RestrictionEnvironmentE[_ZNK5mongo26address_restriction_detail18AddressRestrictionINS0_12ClientSourceEE8validateERKNS_22RestrictionEnvironmentE]+0x349): undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/db/auth/authorization_manager_impl.o: in function `mongo::Restriction<mongo::restriction_detail::UnnamedRestrictionImpl>::toString[abi:cxx11]() const':
authorization_manager_impl.cpp:(.text._ZNK5mongo11RestrictionINS_18restriction_detail22UnnamedRestrictionImplEE8toStringB5cxx11Ev[_ZNK5mongo11RestrictionINS_18restriction_detail22UnnamedRestrictionImplEE8toStringB5cxx11Ev]+0x33): undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/db/auth/authorization_manager_impl.o: in function `mongo::Restriction<mongo::restriction_detail::NamedRestrictionImpl>::toString[abi:cxx11]() const':
authorization_manager_impl.cpp:(.text._ZNK5mongo11RestrictionINS_18restriction_detail20NamedRestrictionImplEE8toStringB5cxx11Ev[_ZNK5mongo11RestrictionINS_18restriction_detail20NamedRestrictionImplEE8toStringB5cxx11Ev]+0x33): undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/db/auth/authorization_session_impl.o: in function `mongo::AuthorizationSessionImpl::checkAuthForUpdate(mongo::OperationContext*, mongo::NamespaceString const&, mongo::BSONObj const&, mongo::write_ops::UpdateModification const&, bool)':
authorization_session_impl.cpp:(.text+0x674c): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/db/auth/authorization_session_impl.o: in function `mongo::AuthorizationSessionImpl::checkAuthorizedToRevokePrivilege(mongo::Privilege const&)':
authorization_session_impl.cpp:(.text+0x6ab1): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/db/update/addtoset_node.o: in function `mongo::AddToSetNode::init(mongo::BSONElement, boost::intrusive_ptr<mongo::ExpressionContext> const&)':
addtoset_node.cpp:(.text+0xced): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/db/update/push_node.o: in function `mongo::PushNode::operatorValue() const':
push_node.cpp:(.text+0x3f30): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/db/update/rename_node.o: in function `mongo::RenameNode::init(mongo::BSONElement, boost::intrusive_ptr<mongo::ExpressionContext> const&)':
rename_node.cpp:(.text+0x2edb): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/db/pipeline/document_source_bucket_auto.o:document_source_bucket_auto.cpp:(.text+0x614e): more undefined references to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()' follow
/usr/bin/ld: build/59f4f0dd/mongo/db/auth/role_graph.o: in function `mongo::RoleGraph::_recomputePrivilegeDataHelper(mongo::RoleName const&, absl::node_hash_set<mongo::RoleName, absl::hash_internal::Hash<mongo::RoleName>, std::equal_to<mongo::RoleName>, std::allocator<mongo::RoleName> >&)':
role_graph.cpp:(.text+0x6657): undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/db/concurrency/lock_manager.o: in function `mongo::LockManager::_buildLocksArray(std::map<unsigned long, mongo::BSONObj, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, mongo::BSONObj> > > const&, bool, mongo::LockManager*, mongo::BSONArrayBuilder*) const':
lock_manager.cpp:(.text+0x56c7): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/db/concurrency/lock_stats.o: in function `mongo::LockStats<long>::_report(mongo::BSONObjBuilder*, char const*, mongo::LockStats<long>::PerModeLockStatCounters const&) const':
lock_stats.cpp:(.text._ZNK5mongo9LockStatsIlE7_reportEPNS_14BSONObjBuilderEPKcRKNS1_23PerModeLockStatCountersE[_ZNK5mongo9LockStatsIlE7_reportEPNS_14BSONObjBuilderEPKcRKNS1_23PerModeLockStatCountersE]+0x3169): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/s/chunk.o: in function `mongo::ChunkInfo::toBSON() const':
chunk.cpp:(.text+0x1e68): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/s/shard_key_pattern.o: in function `mongo::ShardKeyPattern::emplaceMissingShardKeyValuesForDocument(mongo::BSONObj) const':
shard_key_pattern.cpp:(.text+0x34e7): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/s/shard_key_pattern.o: in function `mongo::ShardKeyPattern::flattenBounds(mongo::IndexBounds const&) const':
shard_key_pattern.cpp:(.text+0x46fe): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/db/update/path_support.o:path_support.cpp:(.text+0x5ec9): more undefined references to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()' follow
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/s/commands/strategy.cpp:46:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/s/commands/strategy.cpp:46:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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
/usr/bin/ld: build/59f4f0dd/mongo/util/concurrency/thread_pool.o: in function `mongo::ThreadPool::_consumeTasks()':
thread_pool.cpp:(.text+0x3489): undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/client/sasl_client_authenticate_impl.o: in function `mongo::(anonymous namespace)::saslClientAuthenticateImpl(std::function<mongo::Future<mongo::BSONObj> (mongo::OpMsgRequest)>, mongo::HostAndPort const&, mongo::BSONObj const&)':
sasl_client_authenticate_impl.cpp:(.text+0x70e1): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/client/sasl_scram_client_conversation.o: in function `mongo::SaslSCRAMClientConversation::_secondStep(mongo::StringData, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*)':
sasl_scram_client_conversation.cpp:(.text+0x2ec8): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: sasl_scram_client_conversation.cpp:(.text+0x2f19): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: sasl_scram_client_conversation.cpp:(.text+0x34e5): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/executor/remote_command_request.o: in function `mongo::executor::RemoteCommandRequestImpl<mongo::HostAndPort>::toString[abi:cxx11]() const':
remote_command_request.cpp:(.text._ZNK5mongo8executor24RemoteCommandRequestImplINS_11HostAndPortEE8toStringB5cxx11Ev[_ZNK5mongo8executor24RemoteCommandRequestImplINS_11HostAndPortEE8toStringB5cxx11Ev]+0x8d3): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/client/sasl_aws_protocol_common_gen.o:sasl_aws_protocol_common_gen.cpp:(.text+0x2101): more undefined references to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()' follow
/usr/bin/ld: build/59f4f0dd/mongo/util/dns_query.o: in function `mongo::dns::(anonymous namespace)::ResourceRecord::_badRecord() const':
dns_query.cpp:(.text+0x192): undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/db/exec/document_value/document.o: in function `mongo::Document::toBsonWithMetaData(mongo::SortKeyFormat) const':
document.cpp:(.text+0x6776): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/db/exec/document_value/value.o: in function `mongo::operator<<(std::ostream&, mongo::Value const&) [clone .localalias]':
value.cpp:(.text+0x29ac): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: value.cpp:(.text+0x2a13): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/db/exec/document_value/value.o: in function `mongo::Value::coerceToString[abi:cxx11]() const':
value.cpp:(.text+0x3598): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: value.cpp:(.text+0x35d9): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/db/exec/document_value/value.o:value.cpp:(.text+0x4873): more undefined references to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()' follow
/usr/bin/ld: build/59f4f0dd/mongo/util/options_parser/option_section.o: in function `mongo::optionenvironment::OptionSection::helpString[abi:cxx11]() const':
option_section.cpp:(.text+0x4831): undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/util/options_parser/options_parser.o: in function `mongo::optionenvironment::(anonymous namespace)::checkFileOwnershipAndMode(int, unsigned int, mongo::StringData) [clone .constprop.0]':
options_parser.cpp:(.text+0x1105): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/util/options_parser/options_parser.o: in function `mongo::fromHex(mongo::StringData) [clone .isra.0]':
options_parser.cpp:(.text+0x2618): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: options_parser.cpp:(.text+0x2666): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/util/options_parser/options_parser.o: in function `mongo::optionenvironment::(anonymous namespace)::ConfigExpandNode::hexToVec(mongo::StringData)':
options_parser.cpp:(.text+0x33b6): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/util/options_parser/options_parser.o: in function `mongo::optionenvironment::(anonymous namespace)::YAMLNodeToValue(YAML::Node const&, std::vector<mongo::optionenvironment::OptionDescription, std::allocator<mongo::optionenvironment::OptionDescription> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, mongo::optionenvironment::OptionDescription const**, mongo::optionenvironment::Value*, mongo::optionenvironment::OptionsParser::ConfigExpand const&)::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, YAML::Node const&)#2}::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, YAML::Node const&) const':
options_parser.cpp:(.text+0x3828): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/util/options_parser/options_parser.o:options_parser.cpp:(.text+0x6047): more undefined references to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()' follow
/usr/bin/ld: build/59f4f0dd/mongo/bson/json.o: in function `mongo::fromjson(char const*, int*) [clone .cold]':
json.cpp:(.text.unlikely+0xddd): undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/util/assert_util.o: in function `mongo::verifyFailed(char const*, char const*, unsigned int)':
assert_util.cpp:(.text.unlikely+0xcb5): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/util/time_support.o: in function `mongo::(anonymous namespace)::parseTimeZoneFromToken(mongo::StringData, int*)':
time_support.cpp:(.text+0x1fc2): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: time_support.cpp:(.text+0x20bd): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/util/time_support.o: in function `mongo::dateFromISOString(mongo::StringData)':
time_support.cpp:(.text+0x35d9): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: time_support.cpp:(.text+0x3626): undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: build/59f4f0dd/mongo/util/time_support.o:time_support.cpp:(.text+0x3673): more undefined references to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()' follow
/usr/bin/ld: build/59f4f0dd/third_party/fmt/dist/src/format.o: in function `fmt::v6::system_error::init(int, fmt::v6::basic_string_view<char>, fmt::v6::format_args)':
format.cc:(.text+0xe52): undefined reference to `std::runtime_error::operator=(std::runtime_error&&)'
/usr/bin/ld: build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/exceptions.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > boost::to_string<boost::errinfo_at_line_, int>(boost::error_info<boost::errinfo_at_line_, int> const&)':
exceptions.cpp:(.text._ZN5boost9to_stringINS_16errinfo_at_line_EiEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_10error_infoIT_T0_EE[_ZN5boost9to_stringINS_16errinfo_at_line_EiEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_10error_infoIT_T0_EE]+0x35): undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()'
/usr/bin/ld: build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/exceptions.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > boost::to_string<boost::log::v2s_mt_posix::attribute_name_info_tag, boost::log::v2s_mt_posix::attribute_name>(boost::error_info<boost::log::v2s_mt_posix::attribute_name_info_tag, boost::log::v2s_mt_posix::attribute_name> const&)':
exceptions.cpp:(.text._ZN5boost9to_stringINS_3log12v2s_mt_posix23attribute_name_info_tagENS2_14attribute_nameEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_10error_infoIT_T0_EE[_ZN5boost9to_stringINS_3log12v2s_mt_posix23attribute_name_info_tagENS2_14attribute_nameEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_10error_infoIT_T0_EE]+0x35): undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()'
/usr/bin/ld: build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/exceptions.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > boost::to_string<boost::log::v2s_mt_posix::type_info_info_tag, boost::typeindex::stl_type_index>(boost::error_info<boost::log::v2s_mt_posix::type_info_info_tag, boost::typeindex::stl_type_index> const&)':
exceptions.cpp:(.text._ZN5boost9to_stringINS_3log12v2s_mt_posix18type_info_info_tagENS_9typeindex14stl_type_indexEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_10error_infoIT_T0_EE[_ZN5boost9to_stringINS_3log12v2s_mt_posix18type_info_info_tagENS_9typeindex14stl_type_indexEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_10error_infoIT_T0_EE]+0x35): undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()'
/usr/bin/ld: build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/text_file_backend.o: in function `boost::log::v2s_mt_posix::sinks::(anonymous namespace)::file_counter_formatter::file_counter_formatter(boost::log::v2s_mt_posix::sinks::(anonymous namespace)::file_counter_formatter const&)':
text_file_backend.cpp:(.text+0xbdf): undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()'
/usr/bin/ld: build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/text_file_backend.o: in function `boost::log::v2s_mt_posix::aux::light_function<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > (unsigned int)>::impl<boost::_bi::bind_t<boost::_bi::unspecified, boost::log::v2s_mt_posix::sinks::(anonymous namespace)::file_counter_formatter, boost::_bi::list2<boost::_bi::value<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, boost::arg<1> > > >::clone_impl(void const*)':
text_file_backend.cpp:(.text+0xd7b): undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()'
/usr/bin/ld: build/59f4f0dd/third_party/boost-1.70.0/libs/log/src/text_file_backend.o:text_file_backend.cpp:(.text+0xf46): more undefined references to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()' follow
collect2: error: ld returned 1 exit status
scons: *** [build/59f4f0dd/mongo/mongod] Error 1
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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 src/mongo/s/service_entry_point_mongos.cpp:38:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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/s/service_entry_point_mongos.cpp:38:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637: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/s/service_entry_point_mongos.cpp:38:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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::MatchExpression> 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/s/service_entry_point_mongos.cpp:38:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> 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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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::MatchExpression> mongo::TypeMatchExpressionBase<T>::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: building terminated because of errors.
build/59f4f0dd/mongo/mongod failed: Error 1
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/databases/mongodb4
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/databases/mongodb4